| Index: src/builtins/ia32/builtins-ia32.cc
|
| diff --git a/src/builtins/ia32/builtins-ia32.cc b/src/builtins/ia32/builtins-ia32.cc
|
| index c2785e6c34b9966438a0f4185d4db4456d0a349e..4d366f6a06fb474d7217cee9b8e072c1f6a54b26 100644
|
| --- a/src/builtins/ia32/builtins-ia32.cc
|
| +++ b/src/builtins/ia32/builtins-ia32.cc
|
| @@ -534,9 +534,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);
|
|
|