summaryrefslogtreecommitdiff
path: root/iseq.c
diff options
context:
space:
mode:
authorKoichi Sasada <ko1@atdot.net>2020-06-17 07:18:35 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2020-06-17 08:18:45 +0900
commitb06d7c5521bd55d82eef96efcc2c7df1c29a3e5d (patch)
tree965b20be0975c00b9f89369d1c52304d1c64f100 /iseq.c
parent4dba8b4027e1f3366c2e04dd7554eb65edbea983 (diff)
ISeq created with callback is special, translation cannot be applied
Diffstat (limited to 'iseq.c')
-rw-r--r--iseq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iseq.c b/iseq.c
index 90fb6702f3..086f6e2be4 100644
--- a/iseq.c
+++ b/iseq.c
@@ -866,7 +866,7 @@ rb_iseq_new_with_callback(
rb_iseq_compile_callback(iseq, ifunc);
finish_iseq_build(iseq);
- return iseq_translate(iseq);
+ return iseq;
}
const rb_iseq_t *