Index: src/builtins/x87/builtins-x87.cc |
diff --git a/src/builtins/x87/builtins-x87.cc b/src/builtins/x87/builtins-x87.cc |
index a3942f8211a8ecec3e7d17ff2d3e45963ed161b5..fcf4a8e96745dc41f0fa71f84d58c4460ac4618a 100644 |
--- a/src/builtins/x87/builtins-x87.cc |
+++ b/src/builtins/x87/builtins-x87.cc |
@@ -535,9 +535,8 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) { |
// it is present) and load it into kInterpreterBytecodeArrayRegister. |
__ mov(eax, FieldOperand(edi, JSFunction::kSharedFunctionInfoOffset)); |
Label load_debug_bytecode_array, bytecode_array_loaded; |
- __ cmp(FieldOperand(eax, SharedFunctionInfo::kDebugInfoOffset), |
- Immediate(DebugInfo::uninitialized())); |
- __ j(not_equal, &load_debug_bytecode_array); |
+ __ JumpIfNotSmi(FieldOperand(eax, SharedFunctionInfo::kDebugInfoOffset), |
+ &load_debug_bytecode_array); |
__ mov(kInterpreterBytecodeArrayRegister, |
FieldOperand(eax, SharedFunctionInfo::kFunctionDataOffset)); |
__ bind(&bytecode_array_loaded); |