summaryrefslogtreecommitdiff
path: root/tool
diff options
context:
space:
mode:
Diffstat (limited to 'tool')
-rw-r--r--tool/compile.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/tool/compile.rb b/tool/compile.rb
index 5798b81139..66960f9851 100644
--- a/tool/compile.rb
+++ b/tool/compile.rb
@@ -14,10 +14,10 @@ OutputCompileOption = {
}
def compile_to_rb infile, outfile
- iseq = YARVCore::InstructionSequence.compile_file(infile, OutputCompileOption)
+ iseq = VM::InstructionSequence.compile_file(infile, OutputCompileOption)
open(outfile, 'w'){|f|
- f.puts "YARVCore::InstructionSequence.load(" +
+ f.puts "VM::InstructionSequence.load(" +
"Marshal.load(<<EOS____.unpack('m*')[0])).eval"
f.puts [Marshal.dump(iseq.to_a)].pack('m*')
f.puts "EOS____"
@@ -25,7 +25,7 @@ def compile_to_rb infile, outfile
end
def compile_to_rbc infile, outfile, type
- iseq = YARVCore::InstructionSequence.compile_file(infile, OutputCompileOption)
+ iseq = VM::InstructionSequence.compile_file(infile, OutputCompileOption)
case type
when 'm'