have to pass constants around now

as they are not global anymore
This commit is contained in:
Torsten Ruger
2018-07-01 14:11:29 +03:00
parent e10092a4be
commit e75aef933d
5 changed files with 11 additions and 9 deletions

View File

@ -36,7 +36,7 @@ module Mom
cpu_instructions << cpu if cpu
nekst = nekst.next
end
Risc::Assembler.new(compiler.method , cpu_instructions)
Risc::Assembler.new(compiler.method , cpu_instructions , compiler.constants)
end
end