RJIT: Fix a wrong comparison in set_local_type
This commit is contained in:
parent
68bcca4c2b
commit
18a97affa3
@ -264,9 +264,9 @@ module RubyVM::RJIT
|
|||||||
# noop
|
# noop
|
||||||
in MapToSelf
|
in MapToSelf
|
||||||
# noop
|
# noop
|
||||||
in MapToLocal[temp_local_idx]
|
in MapToLocal[idx]
|
||||||
if stack_idx == temp_local_idx
|
if idx == local_idx
|
||||||
self.temp_types[stack_idx] = self.local_types[temp_local_idx]
|
self.temp_types[stack_idx] = self.local_types[idx]
|
||||||
self.temp_mapping[stack_idx] = MapToStack
|
self.temp_mapping[stack_idx] = MapToStack
|
||||||
else
|
else
|
||||||
# noop
|
# noop
|
||||||
|
Loading…
x
Reference in New Issue
Block a user