From 9de1ec5a783120b7c3c170d7edd3c9885eb8c3ee Mon Sep 17 00:00:00 2001 From: "adamk@chromium.org" Date: Mon, 19 May 2014 08:36:56 +0000 Subject: [PATCH] Comment out %RunMicrotasks assert that triggers in mjsunit tests TBR=dcarney@chromium.org Review URL: https://codereview.chromium.org/290313004 git-svn-id: https://v8.googlecode.com/svn/branches/bleeding_edge@21359 ce2b1a6d-e550-0410-aec6-3dcde31c8c00 --- src/isolate.cc | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/isolate.cc b/src/isolate.cc index a07451a..99af8fa 100644 --- a/src/isolate.cc +++ b/src/isolate.cc @@ -2264,7 +2264,12 @@ void Isolate::EnqueueMicrotask(Handle microtask) { void Isolate::RunMicrotasks() { - ASSERT(handle_scope_implementer()->CallDepthIsZero()); + // TODO(adamk): This ASSERT triggers in mjsunit tests which + // call the %RunMicrotasks runtime function. But it should + // never happen outside of tests, so it would be nice to + // uncomment it. + // + // ASSERT(handle_scope_implementer()->CallDepthIsZero()); // Increase call depth to prevent recursive callbacks. handle_scope_implementer()->IncrementCallDepth(); -- 2.7.4