Fixed almost all but Interpreter
150 only failing, seems only 1 bug though and one in linker
This commit is contained in:
@ -9,7 +9,7 @@ module Risc
|
||||
# space << Parfait.object_space # load constant
|
||||
# message[:receiver] << space #make current message's (r0) receiver the space
|
||||
# See http://ruby-x.org/rubyx/builder.html for details
|
||||
#
|
||||
#
|
||||
class Builder
|
||||
|
||||
attr_reader :built , :compiler
|
||||
|
@ -186,7 +186,7 @@ module Risc
|
||||
# populate the position caches (forward and revese) with the given position
|
||||
# forward caches object -> position
|
||||
# reverse caches position.at > position
|
||||
# Labels do not participatein reverse cache
|
||||
# Labels do not participate in reverse cache
|
||||
def self.set_cache( position , to)
|
||||
postest = Position.positions[position.object] unless to < 0
|
||||
raise "Mismatch #{position}" if postest and postest != position
|
||||
|
Reference in New Issue
Block a user