create return address as own class to hold return addresses

to distinguish from integer, which does not need adjusting
This commit is contained in:
Torsten Ruger
2018-05-30 23:49:01 +03:00
parent e86ca5ae9d
commit e39e96f646
9 changed files with 60 additions and 11 deletions

View File

@ -148,8 +148,8 @@ module Risc
def write_integer( int )
write_ref_for( int.get_type )
write_ref_for( int.next_integer )
@stream.write_signed_int_32( int.value )
@stream.write_signed_int_32( 0 )
write_ref_for( int.value )
write_ref_for( 0 )
log.debug "Integer witten stream 0x#{@stream.length.to_s(16)}"
end