summaryrefslogtreecommitdiffhomepage
path: root/src/codegen.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-11-26 00:42:40 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-11-26 00:43:39 +0900
commitc424892c5eea569a636b70fbb9d4beb68cfb4e93 (patch)
tree198da997756c15883ca3f3101493d6b8d0ef4439 /src/codegen.c
parent553b9df3061daea40e54232b4caf33b63a9016e7 (diff)
downloadmruby-c424892c5eea569a636b70fbb9d4beb68cfb4e93.tar.gz
mruby-c424892c5eea569a636b70fbb9d4beb68cfb4e93.zip
OP_APOST local variable display was wrong
Diffstat (limited to 'src/codegen.c')
-rw-r--r--src/codegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/codegen.c b/src/codegen.c
index 65d276b02..1701e4c8e 100644
--- a/src/codegen.c
+++ b/src/codegen.c
@@ -3021,7 +3021,7 @@ codedump(mrb_state *mrb, mrb_irep *irep)
break;
case OP_APOST:
printf("OP_APOST\tR%d\t%d\t%d", GETARG_A(c), GETARG_B(c), GETARG_C(c));
- print_lv(mrb, irep, c, RAB);
+ print_lv(mrb, irep, c, RA);
break;
case OP_STRING:
{