| Index: src/arm/simulator-arm.h
|
| ===================================================================
|
| --- src/arm/simulator-arm.h (revision 7948)
|
| +++ src/arm/simulator-arm.h (working copy)
|
| @@ -68,7 +68,9 @@
|
| // just use the C stack limit.
|
| class SimulatorStack : public v8::internal::AllStatic {
|
| public:
|
| - static inline uintptr_t JsLimitFromCLimit(uintptr_t c_limit) {
|
| + static inline uintptr_t JsLimitFromCLimit(v8::internal::Isolate* isolate,
|
| + uintptr_t c_limit) {
|
| + USE(isolate);
|
| return c_limit;
|
| }
|
|
|
| @@ -143,7 +145,7 @@
|
| num_d_registers = 16
|
| };
|
|
|
| - Simulator();
|
| + explicit Simulator(Isolate* isolate);
|
| ~Simulator();
|
|
|
| // The currently executing Simulator instance. Potentially there can be one
|
| @@ -179,7 +181,7 @@
|
| void Execute();
|
|
|
| // Call on program start.
|
| - static void Initialize();
|
| + static void Initialize(Isolate* isolate);
|
|
|
| // V8 generally calls into generated JS code with 5 parameters and into
|
| // generated RegExp code with 7 parameters. This is a convenience function,
|
| @@ -408,8 +410,9 @@
|
| // trouble down the line.
|
| class SimulatorStack : public v8::internal::AllStatic {
|
| public:
|
| - static inline uintptr_t JsLimitFromCLimit(uintptr_t c_limit) {
|
| - return Simulator::current(Isolate::Current())->StackLimit();
|
| + static inline uintptr_t JsLimitFromCLimit(v8::internal::Isolate* isolate,
|
| + uintptr_t c_limit) {
|
| + return Simulator::current(isolate)->StackLimit();
|
| }
|
|
|
| static inline uintptr_t RegisterCTryCatch(uintptr_t try_catch_address) {
|
|
|