diff options
author | charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-09 10:51:02 +0000 |
---|---|---|
committer | charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-12-09 10:51:02 +0000 |
commit | 7df979812699f153791b95e9c37f6c61b0cfb599 (patch) | |
tree | 9172a77252b37fdbeb662dbd61c0f0ca4ae1048b /insns.def | |
parent | a1119230621d3ab26e93466a6838be42aaa83307 (diff) | |
download | bundler-7df979812699f153791b95e9c37f6c61b0cfb599.tar.gz |
* compile.c, insns.def, test/ruby/test_rubyvm.rb, vm.c, vm_core.h,
vm_insnhelper.c, vm_insnhelper.h, vm_method.c: Rename method_serial
to global_method_state and constant_serial to global_constant_state
after discussion with ko1.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@44097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'insns.def')
-rw-r--r-- | insns.def | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1197,7 +1197,7 @@ getinlinecache () (VALUE val) { - if (ic->ic_serial == GET_CONSTANT_SERIAL()) { + if (ic->ic_serial == GET_GLOBAL_CONSTANT_STATE()) { val = ic->ic_value.value; JUMP(dst); } @@ -1222,7 +1222,7 @@ setinlinecache rb_iseq_add_mark_object(GET_ISEQ(), val); } ic->ic_value.value = val; - ic->ic_serial = GET_CONSTANT_SERIAL() - ruby_vm_const_missing_count; + ic->ic_serial = GET_GLOBAL_CONSTANT_STATE() - ruby_vm_const_missing_count; ruby_vm_const_missing_count = 0; } |