From 6235899f0726722ebda760657c449d211451f5fc Mon Sep 17 00:00:00 2001 From: bjaideep Date: Mon, 27 Mar 2017 11:58:17 -0700 Subject: [PATCH] PPC: Fix to use correct load instr R=joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com BUG= LOG=N Review-Url: https://codereview.chromium.org/2776263002 Cr-Commit-Position: refs/heads/master@{#44157} --- src/ppc/macro-assembler-ppc.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ppc/macro-assembler-ppc.cc b/src/ppc/macro-assembler-ppc.cc index 2b7c67387ec3..8b22a0770d07 100644 --- a/src/ppc/macro-assembler-ppc.cc +++ b/src/ppc/macro-assembler-ppc.cc @@ -1550,7 +1550,7 @@ void MacroAssembler::MaybeDropFrames() { ExternalReference restart_fp = ExternalReference::debug_restart_fp_address(isolate()); mov(r4, Operand(restart_fp)); - LoadWordArith(r4, MemOperand(r4)); + LoadP(r4, MemOperand(r4)); cmpi(r4, Operand::Zero()); Jump(isolate()->builtins()->FrameDropperTrampoline(), RelocInfo::CODE_TARGET, ne);