automatically create binary once cpu instructions are there

This commit is contained in:
Torsten Ruger
2018-03-26 19:42:15 +03:00
parent 3fcb4b74c7
commit 294f4d988f
3 changed files with 3 additions and 5 deletions

View File

@ -50,7 +50,6 @@ module Risc
next unless method.is_a? Parfait::TypedMethod
log.debug "CODE1 #{method.name}"
# create binary for assembly
method.create_binary
binary = method.binary
Positioned.set_position(binary,at)
method.cpu_instructions.set_position( at + 12) # BinaryCode header