Index: src/builtins/arm64/builtins-arm64.cc |
diff --git a/src/builtins/arm64/builtins-arm64.cc b/src/builtins/arm64/builtins-arm64.cc |
index ee416b148f66f8f34734796cac2bcb88010b942b..2cd3aae2d1fdf8e48c819e2d285c66fcba49894b 100644 |
--- a/src/builtins/arm64/builtins-arm64.cc |
+++ b/src/builtins/arm64/builtins-arm64.cc |
@@ -1007,8 +1007,7 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
Label load_debug_bytecode_array, bytecode_array_loaded; |
DCHECK(!debug_info.is(x0)); |
__ Ldr(debug_info, FieldMemOperand(x0, SharedFunctionInfo::kDebugInfoOffset)); |
- __ Cmp(debug_info, Operand(DebugInfo::uninitialized())); |
- __ B(ne, &load_debug_bytecode_array); |
+ __ JumpIfNotSmi(debug_info, &load_debug_bytecode_array); |
__ Ldr(kInterpreterBytecodeArrayRegister, |
FieldMemOperand(x0, SharedFunctionInfo::kFunctionDataOffset)); |
__ Bind(&bytecode_array_loaded); |