Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(837)

Unified Diff: src/isolate.cc

Issue 1255043002: Remove old TODO and commented-out DCHECK in Isolate::RunMicrotasks (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/isolate.cc
diff --git a/src/isolate.cc b/src/isolate.cc
index 5400feae77c8f7e215af99b9f3f9942ecb133dc6..15b16fc5df084860991c45cede3574d5a23c9985 100644
--- a/src/isolate.cc
+++ b/src/isolate.cc
@@ -2653,13 +2653,6 @@ void Isolate::EnqueueMicrotask(Handle<Object> microtask) {
void Isolate::RunMicrotasks() {
- // %RunMicrotasks may be called in mjsunit tests, which violates
- // this assertion, hence the check for --allow-natives-syntax.
- // TODO(adamk): However, this also fails some layout tests.
- //
- // DCHECK(FLAG_allow_natives_syntax ||
- // handle_scope_implementer()->CallDepthIsZero());
-
// Increase call depth to prevent recursive callbacks.
v8::Isolate::SuppressMicrotaskExecutionScope suppress(
reinterpret_cast<v8::Isolate*>(this));
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698