Index: src/ia32/simulator-ia32.h |
diff --git a/src/ia32/simulator-ia32.h b/src/ia32/simulator-ia32.h |
index af7ee3c71b56e809531a01c332a62d71c36765a5..076bde83e608103bee3de1837975e56e97ab0b5e 100644 |
--- a/src/ia32/simulator-ia32.h |
+++ b/src/ia32/simulator-ia32.h |
@@ -12,7 +12,7 @@ namespace internal { |
// Since there is no simulator for the ia32 architecture the only thing we can |
// do is to call the entry directly. |
-#define CALL_GENERATED_CODE(entry, p0, p1, p2, p3, p4) \ |
+#define CALL_GENERATED_CODE(isolate, entry, p0, p1, p2, p3, p4) \ |
(entry(p0, p1, p2, p3, p4)) |
@@ -21,7 +21,8 @@ typedef int (*regexp_matcher)(String*, int, const byte*, |
// Call the generated regexp code directly. The code at the entry address should |
// expect eight int/pointer sized arguments and return an int. |
-#define CALL_GENERATED_REGEXP_CODE(entry, p0, p1, p2, p3, p4, p5, p6, p7, p8) \ |
+#define CALL_GENERATED_REGEXP_CODE(isolate, entry, p0, p1, p2, p3, p4, p5, p6, \ |
+ p7, p8) \ |
(FUNCTION_CAST<regexp_matcher>(entry)(p0, p1, p2, p3, p4, p5, p6, p7, p8)) |
@@ -36,11 +37,15 @@ class SimulatorStack : public v8::internal::AllStatic { |
return c_limit; |
} |
- static inline uintptr_t RegisterCTryCatch(uintptr_t try_catch_address) { |
+ static inline uintptr_t RegisterCTryCatch(v8::internal::Isolate* isolate, |
+ uintptr_t try_catch_address) { |
+ USE(isolate); |
return try_catch_address; |
} |
- static inline void UnregisterCTryCatch() { } |
+ static inline void UnregisterCTryCatch(v8::internal::Isolate* isolate) { |
+ USE(isolate); |
+ } |
}; |
} // namespace internal |