summaryrefslogtreecommitdiff
path: root/insns.def
diff options
context:
space:
mode:
authork0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-07 14:41:03 +0000
committerk0kubun <k0kubun@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-07-07 14:41:03 +0000
commit8bec3e1fe257fa75403be737ca86fba0e5606bf8 (patch)
tree4be4254be800de689a6c53f6856ca5c29b2d016b /insns.def
parentc2df63d08a4821213ff12d999260ab36845ef4f5 (diff)
insns.def: stop pushing unnecessary keys for MJIT
[Bug #14892] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r--insns.def4
1 files changed, 3 insertions, 1 deletions
diff --git a/insns.def b/insns.def
index f6084429f1..eb3b3410f6 100644
--- a/insns.def
+++ b/insns.def
@@ -1260,7 +1260,9 @@ opt_aset_with
}
else {
PUSH(recv);
+#ifndef MJIT_HEADER
PUSH(rb_str_resurrect(key));
+#endif
PUSH(val);
#ifndef MJIT_HEADER
ADD_PC(-WIDTH_OF_opt_send_without_block);
@@ -1280,8 +1282,8 @@ opt_aref_with
if (val == Qundef) {
PUSH(recv);
- PUSH(rb_str_resurrect(key));
#ifndef MJIT_HEADER
+ PUSH(rb_str_resurrect(key));
ADD_PC(-WIDTH_OF_opt_send_without_block);
#endif
DISPATCH_ORIGINAL_INSN(opt_send_without_block);