Index: src/builtins/arm/builtins-arm.cc |
diff --git a/src/builtins/arm/builtins-arm.cc b/src/builtins/arm/builtins-arm.cc |
index adc80d0ae13517b08b44bb6fb15d0aa6454e1219..f20b3a64a3e769ba20c10bfbab62cace7d3ee607 100644 |
--- a/src/builtins/arm/builtins-arm.cc |
+++ b/src/builtins/arm/builtins-arm.cc |
@@ -1002,7 +1002,7 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
Register debug_info = kInterpreterBytecodeArrayRegister; |
DCHECK(!debug_info.is(r0)); |
__ ldr(debug_info, FieldMemOperand(r0, SharedFunctionInfo::kDebugInfoOffset)); |
- __ cmp(debug_info, Operand(DebugInfo::uninitialized())); |
+ __ SmiTst(debug_info); |
// Load original bytecode array or the debug copy. |
__ ldr(kInterpreterBytecodeArrayRegister, |
FieldMemOperand(r0, SharedFunctionInfo::kFunctionDataOffset), eq); |