Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Source/JavaScriptCore/llint/LowLevelInterpreter.asm
Original file line number Diff line number Diff line change
Expand Up @@ -2005,8 +2005,7 @@ else
tagCodePtr t3, BytecodePtrTag, AddressDiversified, t4
storep t3, [t4]
elsif ARMv7
mvlbl (label - _%kind%_relativePCBase), t4
addp t4, t3, t4
mvlbl label, t4
move index, t5
storep t4, [map, t5, 4]
end
Expand Down
7 changes: 4 additions & 3 deletions Source/JavaScriptCore/offlineasm/arm.rb
Original file line number Diff line number Diff line change
Expand Up @@ -755,8 +755,10 @@ def lowerARMCommon
armMoveImmediate(operands[0].value >> 32, operands[1])
armMoveImmediate(operands[0].value & 0xffffffff, operands[2])
when "mvlbl"
$asm.puts "movw #{operands[1].armOperand}, \#:lower16:#{operands[0].value}"
$asm.puts "movt #{operands[1].armOperand}, \#:upper16:#{operands[0].value}"
$asm.puts ".align 4"
$asm.puts "b.w #+4"
$asm.puts ".word #{operands[0].value}"
$asm.puts "ldr.w #{operands[1].armOperand}, [pc, #-8]"
when "sxb2i"
$asm.puts "sxtb #{armFlippedOperands(operands)}"
when "sxh2i"
Expand Down Expand Up @@ -1000,4 +1002,3 @@ def lowerARMCommon
end
end
end