fix test_exit registers

This commit is contained in:
2020-03-22 14:31:43 +02:00
parent fb4fa598f2
commit a70e510548
4 changed files with 24 additions and 18 deletions
+8
View File
@@ -1,4 +1,12 @@
module Risc
module HasCompiler
def risc(i)
assert @compiler , "no compiler"
instructions = @compiler.risc_instructions
return instructions if i == 0
instructions.next(i)
end
end
class FakeCallable
def self_type
Parfait.object_space.types.values.first