Reviewers: Michael Starzinger,

Description:
Avoid implicit bool->int cast in CollectAllGarbage call


[email protected]


Please review this at https://chromiumcodereview.appspot.com/9699016/

SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge

Affected files:
  M src/execution.cc


Index: src/execution.cc
diff --git a/src/execution.cc b/src/execution.cc
index 443d4b8d0f2af0df6652372baf52494f5b500131..ea8cc3725d781ec30e672147d970402dfee3b472 100644
--- a/src/execution.cc
+++ b/src/execution.cc
@@ -885,7 +885,8 @@ MaybeObject* Execution::HandleStackGuardInterrupt(Isolate* isolate) {
   }

   if (stack_guard->IsGCRequest()) {
-    isolate->heap()->CollectAllGarbage(false, "StackGuard GC request");
+    isolate->heap()->CollectAllGarbage(Heap::kNoGCFlags,
+                                       "StackGuard GC request");
     stack_guard->Continue(GC_REQUEST);
   }



--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to