summaryrefslogtreecommitdiff
path: root/vm_insnhelper.h
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-16 00:01:06 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-07-16 00:01:06 +0000
commit94664d6d0cc8042e98c7256ec28a751d3e5b687c (patch)
tree7ddf4d986bccffe75a4afb1620fc58015d46fecb /vm_insnhelper.h
parentd4628c0bcd0479b15593cfa4ed0907b4360857e0 (diff)
* node.h, vm_core.h, variable.c: rename global_entry to rb_global_entry.
* compile.c, insns.def, iseq.c, vm_insnhelper.h: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.h')
-rw-r--r--vm_insnhelper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vm_insnhelper.h b/vm_insnhelper.h
index a96298c..c28a72a 100644
--- a/vm_insnhelper.h
+++ b/vm_insnhelper.h
@@ -137,8 +137,8 @@ extern VALUE ruby_vm_const_missing_count;
#define GET_PREV_DFP(dfp) ((VALUE *)((dfp)[0] & ~0x03))
-#define GET_GLOBAL(entry) rb_gvar_get((struct global_entry*)entry)
-#define SET_GLOBAL(entry, val) rb_gvar_set((struct global_entry*)entry, val)
+#define GET_GLOBAL(entry) rb_gvar_get((struct rb_global_entry*)entry)
+#define SET_GLOBAL(entry, val) rb_gvar_set((struct rb_global_entry*)entry, val)
#define GET_CONST_INLINE_CACHE(dst) ((IC) * (GET_PC() + (dst) + 2))