summaryrefslogtreecommitdiff
path: root/vm.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-03 09:09:14 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-05-03 09:09:14 +0000
commitd942a9a1eef1636ebd98998f8e13dd6b9e615bea (patch)
treee8e9193e10bf81d22c9893cb8e47951fa4483e99 /vm.c
parentfba2420be4f16a74ed867098ef256c3702ffb5d4 (diff)
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@12244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm.c')
-rw-r--r--vm.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/vm.c b/vm.c
index c8e43d974f..d1a0b34e37 100644
--- a/vm.c
+++ b/vm.c
@@ -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;