| Index: src/isolate.cc
|
| diff --git a/src/isolate.cc b/src/isolate.cc
|
| index 8f2fa4aa098ff373b19e013d29c8c9147d98afb9..5eb1021e7f98af3e9d76c6698819f43bcbfd1e7e 100644
|
| --- a/src/isolate.cc
|
| +++ b/src/isolate.cc
|
| @@ -2354,7 +2354,7 @@ bool StackLimitCheck::JsHasOverflowed() const {
|
| uintptr_t jssp = reinterpret_cast<uintptr_t>(jssp_address);
|
| if (jssp < stack_guard->real_jslimit()) return true;
|
| #endif // USE_SIMULATOR
|
| - return reinterpret_cast<uintptr_t>(this) < stack_guard->real_climit();
|
| + return GetCurrentStackPosition() < stack_guard->real_climit();
|
| }
|
|
|
|
|
|
|