Skip to content

Commit

Permalink
MIPS64: [turbofan] Fix loading of JSFunction from activation in case …
Browse files Browse the repository at this point in the history
…of adapter frame.

Use 64-bit load.

BUG=

Review URL: https://codereview.chromium.org/1037863003

Cr-Commit-Position: refs/heads/master@{#27489}
  • Loading branch information
paul.lind authored and Commit bot committed Mar 26, 2015
1 parent 1e63ed0 commit ab027ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler/mips64/code-generator-mips64.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1051,7 +1051,7 @@ void CodeGenerator::AssemblePrologue() {
if (FLAG_code_comments) __ RecordComment("-- OSR entrypoint --");
osr_pc_offset_ = __ pc_offset();
// TODO(titzer): cannot address target function == local #-1
__ lw(a1, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
__ ld(a1, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset));
DCHECK(stack_slots >= frame()->GetOsrStackSlotCount());
stack_slots -= frame()->GetOsrStackSlotCount();
}
Expand Down

0 comments on commit ab027ae

Please sign in to comment.