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
|
||||
in MapToSelf
|
||||
# noop
|
||||
in MapToLocal[temp_local_idx]
|
||||
if stack_idx == temp_local_idx
|
||||
self.temp_types[stack_idx] = self.local_types[temp_local_idx]
|
||||
in MapToLocal[idx]
|
||||
if idx == local_idx
|
||||
self.temp_types[stack_idx] = self.local_types[idx]
|
||||
self.temp_mapping[stack_idx] = MapToStack
|
||||
else
|
||||
# noop
|
||||
|
Loading…
x
Reference in New Issue
Block a user