rename register to risc

seems to fit the layer much better as we really have a very reduced
instruction set
This commit is contained in:
Torsten Ruger
2017-01-19 09:02:29 +02:00
parent da5823a1a0
commit aa79e41d1c
127 changed files with 348 additions and 346 deletions

View File

@ -3,7 +3,7 @@ require_relative "../helper"
class TestAttributes < MiniTest::Test
def setup
Register.machine.boot
Risc.machine.boot
@space = Parfait.object_space
@mess = @space.first_message
@type = @mess.get_type

View File

@ -3,7 +3,7 @@ require_relative "../helper"
class TestClass < MiniTest::Test
def setup
Register.machine.boot
Risc.machine.boot
@space = Parfait.object_space
@try = @space.create_class :Try , :Object
end

View File

@ -3,7 +3,7 @@ require_relative "../helper"
class TestMessage < MiniTest::Test
def setup
Register.machine.boot
Risc.machine.boot
@space = Parfait.object_space
@mess = @space.first_message
end

View File

@ -3,7 +3,7 @@ require_relative "../helper"
class TestNamedLists < MiniTest::Test
def setup
Register.machine.boot
Risc.machine.boot
@space = Parfait.object_space
@named_list = @space.first_message.locals
@type = @named_list.get_type

View File

@ -3,7 +3,7 @@ require_relative "../helper"
class TestSpace < MiniTest::Test
def setup
@machine = Register.machine.boot
@machine = Risc.machine.boot
@space = Parfait.object_space
end

View File

@ -3,7 +3,7 @@ module Parfait
class TestEmptyWord < MiniTest::Test
def setup
Register.machine.boot
Risc.machine.boot
@word = Parfait::Word.new(0)
end
def test_word_create
@ -29,7 +29,7 @@ end
class TestWord < MiniTest::Test
def setup
Register.machine.boot
Risc.machine.boot
@word = Parfait::Word.new(5)
end
def test_len