rename method_compiler

in line with other compiler XX_Compiler being the compiler for that layer
remove type from compiler as it is in method available
This commit is contained in:
Torsten Ruger
2018-06-29 14:48:52 +03:00
parent 114dc95b60
commit 6bd01fd55f
11 changed files with 14 additions and 17 deletions

View File

@ -6,7 +6,7 @@ module Risc
def setup
Risc.machine.boot
init = Parfait.object_space.get_init
@builder = Risc::MethodCompiler.new( init ).code_builder(init)
@builder = Risc::RiscCompiler.new( init ).code_builder(init)
@label = Risc.label("source","name")
end
def test_has_build
@ -102,7 +102,7 @@ module Risc
def setup
Risc.machine.boot
@init = Parfait.object_space.get_init
@builder = Risc::MethodCompiler.new( @init ).compiler_builder(@init)
@builder = Risc::RiscCompiler.new( @init ).compiler_builder(@init)
end
def test_inserts_built
r1 = RegisterValue.new(:r1 , :Space)

View File

@ -1,7 +1,7 @@
require_relative "helper"
module Vool
class TestMethodCompiler < MiniTest::Test
class TestRiscCompiler < MiniTest::Test
include CompilerHelper
def setup

View File

@ -1 +0,0 @@
require_relative "../helper"