X87: [turbofan] Fix calls to computed code objects.
port 924b0ecf85
(r31057).
contributed by zhengxing.li@intel.com
original commit message:
BUG=
Review URL: https://codereview.chromium.org/1408893002
Cr-Commit-Position: refs/heads/master@{#31321}
This commit is contained in:
parent
18191fe9a7
commit
07449ddc86
@ -312,7 +312,8 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
|
||||
__ call(code, RelocInfo::CODE_TARGET);
|
||||
} else {
|
||||
Register reg = i.InputRegister(0);
|
||||
__ call(Operand(reg, Code::kHeaderSize - kHeapObjectTag));
|
||||
__ add(reg, Immediate(Code::kHeaderSize - kHeapObjectTag));
|
||||
__ call(reg);
|
||||
}
|
||||
RecordCallPosition(instr);
|
||||
bool double_result =
|
||||
|
Loading…
Reference in New Issue
Block a user