misc fixes and (finally, sigh) green again

deeeep dive, almost 40 commits
This commit is contained in:
Torsten Ruger
2018-07-04 09:18:55 +03:00
parent d8b58d8da6
commit 2485f7e9eb
9 changed files with 30 additions and 52 deletions

View File

@ -5,6 +5,7 @@ module Risc
class TestBranchListenerBooted < MiniTest::Test
def setup
Parfait.boot!
Risc.boot!
@binary = Parfait::BinaryCode.new(1)
@bin_pos = CodeListener.init(@binary,:interpreter).set(0)
@label = Label.new("HI","ho" , FakeAddress.new(2))

View File

@ -4,6 +4,7 @@ module Risc
class TestPositionTranslated < MiniTest::Test
def setup
Parfait.boot!
Risc.boot!
@binary = Parfait::BinaryCode.new(1)
@method = Parfait.object_space.types.values.first.methods
@label = Risc.label("hi","ho")