Index: src/x64/debug-x64.cc |
diff --git a/src/x64/debug-x64.cc b/src/x64/debug-x64.cc |
index 804dcd68835a8589adc114aa8f1e6b1d5d651d4f..916eb769f4a04890d4259bd7a392ef5496d8fff8 100644 |
--- a/src/x64/debug-x64.cc |
+++ b/src/x64/debug-x64.cc |
@@ -71,7 +71,8 @@ void DebugCodegen::GenerateDebugBreakStub(MacroAssembler* masm, |
if (mode == SAVE_RESULT_REGISTER) __ Push(rax); |
__ Set(rax, 0); // No arguments (argc == 0). |
- __ Move(rbx, ExternalReference::debug_break(masm->isolate())); |
+ __ Move(rbx, ExternalReference(Runtime::FunctionForId(Runtime::kDebugBreak), |
+ masm->isolate())); |
CEntryStub ceb(masm->isolate(), 1); |
__ CallStub(&ceb); |