diff options
author | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-01 03:05:58 +0000 |
---|---|---|
committer | ko1 <ko1@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-01 03:05:58 +0000 |
commit | f03e172936234e8ec8937dea8d12d6db9c2fdd14 (patch) | |
tree | 8cce6055a148d92f34a5a9a5a8bdfe9831c2580a /tool/parse.rb | |
parent | 276b70494c0e91ce8d63bba72fda2d09348b5108 (diff) | |
download | ruby-f03e172936234e8ec8937dea8d12d6db9c2fdd14.tar.gz ruby-f03e172936234e8ec8937dea8d12d6db9c2fdd14.tar.xz ruby-f03e172936234e8ec8937dea8d12d6db9c2fdd14.zip |
* compile.c, insns.def, vm.c, vm_core.h: remove some insns
(undef, alias, definemethod).
Call RubyVM::FrozenCore's singleton method instead.
Add "putiseq" and "putspecialobject" instructions.
* id.c, id.h: add ids for above.
* tool/parse.rb: "VM" no longer exists. Use RubyVM instead.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17755 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'tool/parse.rb')
-rw-r--r-- | tool/parse.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/parse.rb b/tool/parse.rb index bf0bbc30a..6243d7aa8 100644 --- a/tool/parse.rb +++ b/tool/parse.rb @@ -6,7 +6,7 @@ puts '# ' + '-' * 70 puts $str puts '# ' + '-' * 70 -$parsed = VM::InstructionSequence.compile_file($file) +$parsed = RubyVM::InstructionSequence.compile_file($file) puts "# disasm result: " puts '# ' + '-' * 70 puts $parsed.disasm |