summaryrefslogtreecommitdiff
path: root/tool/instruction.rb
diff options
context:
space:
mode:
authorko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-04 13:52:20 +0000
committerko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-04 13:52:20 +0000
commit08c8605de91d2f04dcb53672a2eca6bd3f77bb18 (patch)
tree95f15e8497aedf68c1f4707ae7578c8081ad1990 /tool/instruction.rb
parent326e22e14a7625fd947f038f8c3f2235a059d522 (diff)
* insns.def (getlocal, setlocal): remove old getlocal/setlocal
instructions and rename getdaynmic/setdynamic instructions to getlocal/setlocal. * compile.c: ditto. * iseq.c: remove TS_DINDEX. * vm_exec.h (dindex_t): remove type definition of `dindex_t'. * tool/instruction.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/instruction.rb')
-rwxr-xr-xtool/instruction.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/tool/instruction.rb b/tool/instruction.rb
index 43b26b5c97..38318a435c 100755
--- a/tool/instruction.rb
+++ b/tool/instruction.rb
@@ -930,8 +930,6 @@ class RubyVM
"TS_NUM"
when /^lindex_t/
"TS_LINDEX"
- when /^dindex_t/
- "TS_DINDEX"
when /^VALUE/
"TS_VALUE"
when /^ID/
@@ -957,7 +955,6 @@ class RubyVM
'TS_OFFSET' => 'O',
'TS_NUM' => 'N',
'TS_LINDEX' => 'L',
- 'TS_DINDEX' => 'D',
'TS_VALUE' => 'V',
'TS_ID' => 'I',
'TS_GENTRY' => 'G',
@@ -1064,7 +1061,7 @@ class RubyVM
val = op[1]
case type
- when /^long/, /^rb_num_t/, /^lindex_t/, /^dindex_t/
+ when /^long/, /^rb_num_t/, /^lindex_t/
"INT2FIX(#{val})"
when /^VALUE/
val