Index: src/x64/macro-assembler-x64.cc |
diff --git a/src/x64/macro-assembler-x64.cc b/src/x64/macro-assembler-x64.cc |
index 70a3dab6d247771cb7fb25c4c6e0f26d0585fca2..2846fe261c7f9800e2c4946e1d43d8594178e2c0 100644 |
--- a/src/x64/macro-assembler-x64.cc |
+++ b/src/x64/macro-assembler-x64.cc |
@@ -288,7 +288,7 @@ void MacroAssembler::Abort(const char* msg) { |
} |
#endif |
// Disable stub call restrictions to always allow calls to abort. |
- set_allow_stub_calls(true); |
+ AllowStubCallsScope allow_scope(this, true); |
push(rax); |
movq(kScratchRegister, p0, RelocInfo::NONE); |