Index: src/ia32/macro-assembler-ia32.h |
diff --git a/src/ia32/macro-assembler-ia32.h b/src/ia32/macro-assembler-ia32.h |
index ae9bb5a1f0132dfd6964539ab825c7330979863d..66d1ce7d3851d246d4417b2f92654430f7a417f4 100644 |
--- a/src/ia32/macro-assembler-ia32.h |
+++ b/src/ia32/macro-assembler-ia32.h |
@@ -829,6 +829,10 @@ class MacroAssembler: public Assembler { |
void EnterFrame(StackFrame::Type type); |
void LeaveFrame(StackFrame::Type type); |
+ // Expects object in eax and returns map with validated enum cache |
+ // in eax. Assumes that any other register can be used as a scratch. |
+ void CheckEnumCache(Label* call_runtime); |
+ |
private: |
bool generating_stub_; |
bool allow_stub_calls_; |