| Index: src/isolate.h
|
| diff --git a/src/isolate.h b/src/isolate.h
|
| index 167b7626a526ae7f5d223ae5cb55030af9320960..272497a544179962b7e4c38fe6a90295e7ea7ff1 100644
|
| --- a/src/isolate.h
|
| +++ b/src/isolate.h
|
| @@ -1395,12 +1395,7 @@ class StackLimitCheck BASE_EMBEDDED {
|
|
|
| bool HasOverflowed() const {
|
| StackGuard* stack_guard = isolate_->stack_guard();
|
| - // Stack has overflowed in C++ code only if stack pointer exceeds the C++
|
| - // stack guard and the limits are not set to interrupt values.
|
| - // TODO(214): Stack overflows are ignored if a interrupt is pending. This
|
| - // code should probably always use the initial C++ limit.
|
| - return (reinterpret_cast<uintptr_t>(this) < stack_guard->climit()) &&
|
| - stack_guard->IsStackOverflow();
|
| + return (reinterpret_cast<uintptr_t>(this) < stack_guard->real_climit());
|
| }
|
| private:
|
| Isolate* isolate_;
|
|
|