| Index: src/mark-compact.cc
|
| diff --git a/src/mark-compact.cc b/src/mark-compact.cc
|
| index 7b54381f6f86bcbbce167131ef93d6711c8c3d94..f7a09456f41ecbdb52cff0eb44184f5eda83bfe1 100644
|
| --- a/src/mark-compact.cc
|
| +++ b/src/mark-compact.cc
|
| @@ -380,7 +380,7 @@ class StaticMarkingVisitor : public StaticVisitorBase {
|
| // Returns false if the operation fails (lack of stack space).
|
| static inline bool VisitUnmarkedObjects(Object** start, Object** end) {
|
| // Return false is we are close to the stack limit.
|
| - StackLimitCheck check;
|
| + StackLimitCheck check(Isolate::Current());
|
| if (check.HasOverflowed()) return false;
|
|
|
| // Visit the unmarked objects.
|
|
|