Commit 03ee3785 authored by bjaideep's avatar bjaideep Committed by Commit Bot

PPC: Add the missing cmp instr for 32bit

Minor fix to original CL https://chromium-review.googlesource.com/527156
adding the cmp instr to set the condition code for 32bit.

R=joransiu@ca.ibm.com, jyan@ca.ibm.com, michael_dawson@ca.ibm.com
BUG=
LOG=N

Review-Url: https://codereview.chromium.org/2934553002
Cr-Commit-Position: refs/heads/master@{#45828}
parent efc3e1c2
......@@ -823,12 +823,8 @@ void Builtins::Generate_ResumeGeneratorTrampoline(MacroAssembler* masm) {
{
Label loop, done_loop;
__ LoadRoot(ip, Heap::kTheHoleValueRootIndex);
#if V8_TARGET_ARCH_PPC64
__ cmpi(r3, Operand::Zero());
__ beq(&done_loop);
#else
__ beq(&done_loop, cr0);
#endif
__ mtctr(r3);
__ bind(&loop);
__ push(ip);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment