Index: src/compiler.cc |
diff --git a/src/compiler.cc b/src/compiler.cc |
index e5ebae9294d5eb1868f13788968278876674ae37..4a22d20b9dee5d5e4a7641cbb59597d99ca89220 100644 |
--- a/src/compiler.cc |
+++ b/src/compiler.cc |
@@ -1618,7 +1618,9 @@ Handle<SharedFunctionInfo> Compiler::GetSharedFunctionInfoForScript( |
} |
if (result.is_null()) { |
- if (natives != EXTENSION_CODE) isolate->ReportPendingMessages(); |
+ if (natives != EXTENSION_CODE && natives != NATIVES_CODE) { |
+ isolate->ReportPendingMessages(); |
+ } |
} else { |
isolate->debug()->OnAfterCompile(script); |
} |