| Index: src/builtins/x64/builtins-x64.cc
|
| diff --git a/src/builtins/x64/builtins-x64.cc b/src/builtins/x64/builtins-x64.cc
|
| index 1fb77d9a40c4c8061cab55e9051a83b56197e582..b232077e6584f71ce99ee47d18d00b74b8bed61e 100644
|
| --- a/src/builtins/x64/builtins-x64.cc
|
| +++ b/src/builtins/x64/builtins-x64.cc
|
| @@ -610,10 +610,8 @@ void Builtins::Generate_InterpreterEntryTrampoline(MacroAssembler* masm) {
|
| // it is present) and load it into kInterpreterBytecodeArrayRegister.
|
| __ movp(rax, FieldOperand(rdi, JSFunction::kSharedFunctionInfoOffset));
|
| Label load_debug_bytecode_array, bytecode_array_loaded;
|
| - DCHECK_EQ(Smi::kZero, DebugInfo::uninitialized());
|
| - __ cmpp(FieldOperand(rax, SharedFunctionInfo::kDebugInfoOffset),
|
| - Immediate(0));
|
| - __ j(not_equal, &load_debug_bytecode_array);
|
| + __ JumpIfNotSmi(FieldOperand(rax, SharedFunctionInfo::kDebugInfoOffset),
|
| + &load_debug_bytecode_array);
|
| __ movp(kInterpreterBytecodeArrayRegister,
|
| FieldOperand(rax, SharedFunctionInfo::kFunctionDataOffset));
|
| __ bind(&bytecode_array_loaded);
|
|
|