Index: src/runtime/runtime-debug.cc |
diff --git a/src/runtime/runtime-debug.cc b/src/runtime/runtime-debug.cc |
index 18f987c2500e2bd7b4e710bc59a5aa7f6ce59b75..a47db22ca766b4a3e928d7ad6b4eff93bff0b598 100644 |
--- a/src/runtime/runtime-debug.cc |
+++ b/src/runtime/runtime-debug.cc |
@@ -1574,7 +1574,7 @@ RUNTIME_FUNCTION(Runtime_GetDebugContext) { |
RUNTIME_FUNCTION(Runtime_CollectGarbage) { |
SealHandleScope shs(isolate); |
DCHECK(args.length() == 1); |
- isolate->heap()->CollectAllGarbage(Heap::kNoGCFlags, "%CollectGarbage"); |
+ isolate->heap()->CollectAllGarbage("%CollectGarbage", Heap::kNoGCFlags); |
return isolate->heap()->undefined_value(); |
} |