Index: src/compiler/ppc/code-generator-ppc.cc |
diff --git a/src/compiler/ppc/code-generator-ppc.cc b/src/compiler/ppc/code-generator-ppc.cc |
index b26205408834b08829ac5822bb86ca45abde6250..39247c22cefa5712484f7fde5d355d70460458c4 100644 |
--- a/src/compiler/ppc/code-generator-ppc.cc |
+++ b/src/compiler/ppc/code-generator-ppc.cc |
@@ -1222,7 +1222,7 @@ void CodeGenerator::AssemblePrologue() { |
if (FLAG_code_comments) __ RecordComment("-- OSR entrypoint --"); |
osr_pc_offset_ = __ pc_offset(); |
// TODO(titzer): cannot address target function == local #-1 |
- __ lwa(r4, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
+ __ LoadP(r4, MemOperand(fp, JavaScriptFrameConstants::kFunctionOffset)); |
DCHECK(stack_slots >= frame()->GetOsrStackSlotCount()); |
stack_slots -= frame()->GetOsrStackSlotCount(); |
} |