do not copy name of method

so that the resolve can compare name identity
which is what is does, not equality
this (and some other bug) is crashing arm currently
This commit is contained in:
2020-03-25 12:43:57 +02:00
parent b2dce92883
commit bc558d1f0d
5 changed files with 16 additions and 11 deletions

View File

@ -72,6 +72,7 @@ module Arm
codes << ArmMachine.mov( :pc , code.register)
codes
end
def translate_DynamicJump(code)
index = Parfait.object_space.get_type_by_class_name(:CallableMethod).variable_index(:binary)
codes = ArmMachine.ldr( code.register , code.register , arm_index(index) )