summaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-03 11:33:09 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-12-03 11:33:09 +0000
commit5c582807731b675012647e0f7d9ad8bae937053b (patch)
tree0826015af571f280b8840f57e81e89fa973fca37 /compile.c
parent41d77571ff4cb3e6ccf238cf63bfdc3c50fc1564 (diff)
* compile.c (iseq_specialized_instruction):
change condition of using `opt_send_simple'. More method invocations can be simple. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/compile.c b/compile.c
index 5412beef7a..5d219af65e 100644
--- a/compile.c
+++ b/compile.c
@@ -1940,6 +1940,8 @@ iseq_specialized_instruction(rb_iseq_t *iseq, INSN *iobj)
}
break;
}
+ }
+ if (ci->flag & VM_CALL_ARGS_SKIP_SETUP) {
iobj->insn_id = BIN(opt_send_simple);
}
}