From 7df979812699f153791b95e9c37f6c61b0cfb599 Mon Sep 17 00:00:00 2001
From: charliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>
Date: Mon, 9 Dec 2013 10:51:02 +0000
Subject: * 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
---
 insns.def | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'insns.def')

diff --git a/insns.def b/insns.def
index 63a36b3979..a636f555e4 100644
--- a/insns.def
+++ b/insns.def
@@ -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;
 }
 
-- 
cgit v1.2.3

