mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
d4628c0bcd
commit
94664d6d0c
8 changed files with 26 additions and 24 deletions
|
@ -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))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue