| Index: src/builtins/ppc/builtins-ppc.cc
|
| diff --git a/src/builtins/ppc/builtins-ppc.cc b/src/builtins/ppc/builtins-ppc.cc
|
| index 72aa87367ea10f6f8a7d0e052775fd280686cbce..69e7372f65387a63ed632851ea1eae371611a545 100644
|
| --- a/src/builtins/ppc/builtins-ppc.cc
|
| +++ b/src/builtins/ppc/builtins-ppc.cc
|
| @@ -1019,8 +1019,8 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) {
|
| // Load original bytecode array or the debug copy.
|
| __ LoadP(kInterpreterBytecodeArrayRegister,
|
| FieldMemOperand(r3, SharedFunctionInfo::kFunctionDataOffset));
|
| - __ CmpSmiLiteral(debug_info, DebugInfo::uninitialized(), r0);
|
| - __ beq(&array_done);
|
| + __ TestIfSmi(debug_info, r0);
|
| + __ beq(&array_done, cr0);
|
| __ LoadP(kInterpreterBytecodeArrayRegister,
|
| FieldMemOperand(debug_info, DebugInfo::kDebugBytecodeArrayIndex));
|
| __ bind(&array_done);
|
|
|