diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-03 09:09:14 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-05-03 09:09:14 +0000 |
commit | e19833200a7c07ea32a968fc9528a15a39adb079 (patch) | |
tree | e8e9193e10bf81d22c9893cb8e47951fa4483e99 /vm.c | |
parent | 3230c651031b5eaa1a4fb6d9c5ed3c6584745aa6 (diff) | |
download | ruby-e19833200a7c07ea32a968fc9528a15a39adb079.tar.gz ruby-e19833200a7c07ea32a968fc9528a15a39adb079.tar.xz ruby-e19833200a7c07ea32a968fc9528a15a39adb079.zip |
* vm_evalbody.ci, insns.def, vm.c, tool/insns2vm.rb (rb_num_t):
renamed to get rid of name clash. [ruby-dev:30504]
* yarvcore.c (ruby_thread_init): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@12244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r-- | vm.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -30,11 +30,11 @@ VALUE rb_cEnv; #define EVALBODY_HELPER_FUNCTION static inline -typedef unsigned long num_t; +typedef unsigned long rb_num_t; typedef unsigned long lindex_t; typedef unsigned long dindex_t; -typedef num_t GENTRY; +typedef rb_num_t GENTRY; void vm_analysis_operand(int insn, int n, VALUE op); void vm_analysis_register(int reg, int isset); @@ -1263,7 +1263,7 @@ eval_get_cvar_base(rb_thread_t *th, rb_iseq_t *iseq) EVALBODY_HELPER_FUNCTION void eval_define_method(rb_thread_t *th, VALUE obj, - ID id, rb_iseq_t *miseq, num_t is_singleton, NODE *cref) + ID id, rb_iseq_t *miseq, rb_num_t is_singleton, NODE *cref) { NODE *newbody; int noex = cref->nd_visi; |