| 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));
|
|
|