summaryrefslogtreecommitdiff
path: root/vm_insnhelper.h
diff options
context:
space:
mode:
authorcharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-09 10:51:02 +0000
committercharliesome <charliesome@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-12-09 10:51:02 +0000
commit7df979812699f153791b95e9c37f6c61b0cfb599 (patch)
tree9172a77252b37fdbeb662dbd61c0f0ca4ae1048b /vm_insnhelper.h
parenta1119230621d3ab26e93466a6838be42aaa83307 (diff)
* 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 'vm_insnhelper.h')
-rw-r--r--vm_insnhelper.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h
index 048fdc4..45a9da4 100644
--- a/vm_insnhelper.h
+++ b/vm_insnhelper.h
@@ -261,10 +261,10 @@ enum vm_regan_acttype {
} while (0)
#define NEXT_CLASS_SERIAL() (++ruby_vm_class_serial)
-#define GET_METHOD_SERIAL() (ruby_vm_method_serial)
-#define INC_METHOD_SERIAL() (++ruby_vm_method_serial)
-#define GET_CONSTANT_SERIAL() (ruby_vm_constant_serial)
-#define INC_CONSTANT_SERIAL() (++ruby_vm_constant_serial)
+#define GET_GLOBAL_METHOD_STATE() (ruby_vm_global_method_state)
+#define INC_GLOBAL_METHOD_STATE() (++ruby_vm_global_method_state)
+#define GET_GLOBAL_CONSTANT_STATE() (ruby_vm_global_constant_state)
+#define INC_GLOBAL_CONSTANT_STATE() (++ruby_vm_global_constant_state)
static VALUE make_no_method_exception(VALUE exc, const char *format,
VALUE obj, int argc, const VALUE *argv);