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 /tool | |
| 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 'tool')
| -rw-r--r-- | tool/insns2vm.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tool/insns2vm.rb b/tool/insns2vm.rb index 4fecf0a70..57d282bd6 100644 --- a/tool/insns2vm.rb +++ b/tool/insns2vm.rb @@ -135,12 +135,12 @@ class InsnsDef ret = "int inc = 0;\n" @opes.each_with_index{|(t, v), i| - if t == 'num_t' + if t == 'rb_num_t' ret << " unsigned long #{v} = FIX2INT(opes[#{i}]);\n" end } @defopes.each_with_index{|((t, var), val), i| - if t == 'num_t' && val != '*' + if t == 'rb_num_t' && val != '*' ret << " unsigned long #{var} = #{val};\n" end } @@ -916,7 +916,7 @@ class InsnsDef case op when /^OFFSET/ "TS_OFFSET" - when /^num_t/ + when /^rb_num_t/ "TS_NUM" when /^lindex_t/ "TS_LINDEX" @@ -1037,7 +1037,7 @@ class InsnsDef val = op[1] case type - when /^long/, /^num_t/, /^lindex_t/, /^dindex_t/ + when /^long/, /^rb_num_t/, /^lindex_t/, /^dindex_t/ "INT2FIX(#{val})" when /^VALUE/ val |
