File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1392,14 +1392,9 @@ class StackLimitCheck BASE_EMBEDDED {
13921392 public:
13931393 explicit StackLimitCheck (Isolate* isolate) : isolate_(isolate) { }
13941394
1395- bool HasOverflowed () const {
1395+ inline bool HasOverflowed () const {
13961396 StackGuard* stack_guard = isolate_->stack_guard ();
1397- // Stack has overflowed in C++ code only if stack pointer exceeds the C++
1398- // stack guard and the limits are not set to interrupt values.
1399- // TODO(214): Stack overflows are ignored if a interrupt is pending. This
1400- // code should probably always use the initial C++ limit.
1401- return (reinterpret_cast <uintptr_t >(this ) < stack_guard->climit ()) &&
1402- stack_guard->IsStackOverflow ();
1397+ return reinterpret_cast <uintptr_t >(this ) < stack_guard->real_climit ();
14031398 }
14041399 private:
14051400 Isolate* isolate_;
You can’t perform that action at this time.
0 commit comments