Index: src/runtime.cc |
diff --git a/src/runtime.cc b/src/runtime.cc |
index c09fb1d49904585d0eb6f673d350de65c8c38abb..1859faab30b3adef0fa1d06d785a85eb7271fd48 100644 |
--- a/src/runtime.cc |
+++ b/src/runtime.cc |
@@ -14786,8 +14786,7 @@ const Runtime::Function* Runtime::FunctionForId(Runtime::FunctionId id) { |
} |
-void Runtime::PerformGC(Object* result) { |
- Isolate* isolate = Isolate::Current(); |
+void Runtime::PerformGC(Object* result, Isolate* isolate) { |
Failure* failure = Failure::cast(result); |
if (failure->IsRetryAfterGC()) { |
if (isolate->heap()->new_space()->AddFreshPage()) { |