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 05d6d83cda79956af1eb44698c1f555f8ebb2736..1c2246a43e11701b4470547f64e54ea8dc1e6be2 100644 |
--- a/src/compiler/ppc/code-generator-ppc.cc |
+++ b/src/compiler/ppc/code-generator-ppc.cc |
@@ -813,7 +813,8 @@ void CodeGenerator::AssemblePopArgumentsAdaptorFrame(Register args_reg, |
// Check if current frame is an arguments adaptor frame. |
__ LoadP(scratch1, MemOperand(fp, StandardFrameConstants::kContextOffset)); |
- __ CmpSmiLiteral(scratch1, Smi::FromInt(StackFrame::ARGUMENTS_ADAPTOR), r0); |
+ __ cmpi(scratch1, |
+ Operand(StackFrame::TypeToMarker(StackFrame::ARGUMENTS_ADAPTOR))); |
__ bne(&done); |
// Load arguments count from current arguments adaptor frame (note, it |