Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index 946022adb402716e3568b2e13569bf72b3610778..6de8b6f2f257587fcf3a7b57d317dd0550b2ac2b 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -642,6 +642,10 @@ class MacroAssembler: public Assembler { |
Register scratch2, |
Label* on_not_flat_ascii_strings); |
+ static int SafepointRegisterStackIndex(Register reg) { |
+ return SafepointRegisterStackIndex(reg.code()); |
+ } |
+ |
private: |
bool generating_stub_; |
bool allow_stub_calls_; |