clean up booting
many machine boot became obsolete or just neede parfait to boot actual linker functionality pending
This commit is contained in:
@ -35,8 +35,8 @@ module MomCompile
|
||||
compile_to_mom(method , res.clazz.instance_type)
|
||||
end
|
||||
def compile_to_mom(method , for_type)
|
||||
typed_method = create_typed_method(for_type)
|
||||
source.to_mom( typed_method )
|
||||
typed_method = method.create_typed_method(for_type)
|
||||
method.source.to_mom( typed_method )
|
||||
end
|
||||
|
||||
def check_array( should , is )
|
||||
|
@ -8,7 +8,7 @@ module Risc
|
||||
|
||||
def setup
|
||||
Parfait.boot!
|
||||
Risc.machine.boot
|
||||
Risc.boot!
|
||||
RubyX::RubyXCompiler.ruby_to_binary( @string_input , :interpreter)
|
||||
@interpreter = Interpreter.new
|
||||
@interpreter.start_machine
|
||||
|
Reference in New Issue
Block a user