diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-28 07:13:06 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-09-28 07:13:06 +0000 |
commit | 574027ba0371ab2e6fdb84e0634ec72d02cd6ff7 (patch) | |
tree | 8f6f8552ebe043ce65376e38495004dfed113078 /vm_exec.c | |
parent | 8d397604bf72d5efb525da5c3291f1197bcd3e9f (diff) | |
download | bundler-574027ba0371ab2e6fdb84e0634ec72d02cd6ff7.tar.gz |
* vm_exec.c (vm_exec_core): add an UNLIKELY() hint.
* vm_insnhelper.h (BASIC_OP_UNREDEFINED_P): add a LIKELY() hint.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_exec.c')
-rw-r--r-- | vm_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ vm_exec_core(rb_thread_t *th, VALUE initial) #if OPT_TOKEN_THREADED_CODE || OPT_DIRECT_THREADED_CODE #include "vmtc.inc" - if (th == 0) { + if (UNLIKELY(th == 0)) { #if OPT_STACK_CACHING finish_insn_seq[0] = (VALUE)&&LABEL (finish_SC_ax_ax); #else |