split create_binary into two phases

Which gives instructions a chance to check everything
and in Arms case check the constant loads/ instruction adding
So that during assembly no more change happens (and we don't have to reassemble)
This commit is contained in:
Torsten Ruger
2018-06-17 13:53:17 +03:00
parent c94f6eaa78
commit 3298651238
7 changed files with 37 additions and 8 deletions

7
lib/util/dev_null.rb Normal file
View File

@ -0,0 +1,7 @@
module Util
# A class that does not write, or swallows all incoming data
# Used in Arm to do a dry run (and in testing, where it was born)
class DevNull
def write_unsigned_int_32( _ );end
end
end