Index: src/x64/macro-assembler-x64.h |
diff --git a/src/x64/macro-assembler-x64.h b/src/x64/macro-assembler-x64.h |
index 9fde18dfa0035ee04b40cea6b66d084dd22b13b4..8086388b12854251d557cfff29d561be4514912f 100644 |
--- a/src/x64/macro-assembler-x64.h |
+++ b/src/x64/macro-assembler-x64.h |
@@ -1083,6 +1083,10 @@ class MacroAssembler: public Assembler { |
void set_allow_stub_calls(bool value) { allow_stub_calls_ = value; } |
bool allow_stub_calls() { return allow_stub_calls_; } |
+ static int SafepointRegisterStackIndex(Register reg) { |
+ return SafepointRegisterStackIndex(reg.code()); |
+ } |
+ |
private: |
// Order general registers are pushed by Pushad. |
// rax, rcx, rdx, rbx, rsi, rdi, r8, r9, r11, r14, r15. |