Fix a test_rubyoptions failure
This commit is contained in:
parent
46e93ef53d
commit
3cb5e7558d
@ -402,24 +402,6 @@ module RubyVM::RJIT
|
||||
end
|
||||
|
||||
return best_version
|
||||
|
||||
versions.find do |block|
|
||||
dst = block.ctx
|
||||
|
||||
# Can only lookup the first version in the chain
|
||||
if dst.chain_depth != 0
|
||||
next false
|
||||
end
|
||||
|
||||
# Blocks with depth > 0 always produce new versions
|
||||
# Sidechains cannot overlap
|
||||
if src.chain_depth != 0
|
||||
next false
|
||||
end
|
||||
|
||||
src.stack_size == dst.stack_size &&
|
||||
src.sp_offset == dst.sp_offset
|
||||
end
|
||||
end
|
||||
|
||||
# @param [RubyVM::RJIT::Block] block
|
||||
|
@ -2990,9 +2990,6 @@ module RubyVM::RJIT
|
||||
return false
|
||||
end
|
||||
|
||||
# Generate a side exit
|
||||
side_exit = side_exit(jit, ctx)
|
||||
|
||||
# Guard that the concat argument is a string
|
||||
asm.mov(:rax, ctx.stack_opnd(0))
|
||||
guard_object_is_string(jit, ctx, asm, :rax, :rcx, StackOpnd[0])
|
||||
|
Loading…
x
Reference in New Issue
Block a user