summaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-05-15 08:58:21 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-05-15 08:58:21 +0900
commit157bebf43716336258e67a872e4ecf33ab151de8 (patch)
treedf27ea0f9cd07711979d96a4adaa34fd81c8c90c /src
parent6f6f50d5296656da9ff49169d2998a84ce28a0bf (diff)
parent688602eb811502fe4400ef84ae50f84dd04962e2 (diff)
downloadmruby-157bebf43716336258e67a872e4ecf33ab151de8.tar.gz
mruby-157bebf43716336258e67a872e4ecf33ab151de8.zip
Merge pull request #2255 from mitchblank/master
two trivial fixes
Diffstat (limited to 'src')
-rw-r--r--src/codegen.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/codegen.c b/src/codegen.c
index 451b38129..a1564d955 100644
--- a/src/codegen.c
+++ b/src/codegen.c
@@ -2638,6 +2638,7 @@ loop_pop(codegen_scope *s, int val)
if (val) push();
}
+#ifdef ENABLE_STDIO
static int
print_r(mrb_state *mrb, mrb_irep *irep, size_t n, int pre)
{
@@ -2680,6 +2681,7 @@ print_lv(mrb_state *mrb, mrb_irep *irep, mrb_code c, int r)
}
printf("\n");
}
+#endif
static void
codedump(mrb_state *mrb, mrb_irep *irep)