aboutsummaryrefslogtreecommitdiff
path: root/load.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2017-02-24 09:48:53 -0500
committerQuentin Carbonneaux <[email protected]>2017-02-24 09:50:35 -0500
commit1bb7652484e1c7ca2cd7fcab858b4bbb18509879 (patch)
treeb04e582abaf59fdd220d9e68895d07902ccd865a /load.c
parentf3301026fa404c68c7ad399b5a56a5135b88af04 (diff)
deduplicate loadsz & storesz
Diffstat (limited to 'load.c')
-rw-r--r--load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/load.c b/load.c
index ca7d492..3e22b57 100644
--- a/load.c
+++ b/load.c
@@ -42,7 +42,7 @@ static uint inum; /* current insertion number */
static Insert *ilog; /* global insertion log */
static uint nlog; /* number of entries in the log */
-static int
+int
loadsz(Ins *l)
{
switch (l->op) {
@@ -54,7 +54,7 @@ loadsz(Ins *l)
die("unreachable");
}
-static int
+int
storesz(Ins *s)
{
switch (s->op) {