Index: runtime/vm/dart_api_impl.cc |
=================================================================== |
--- runtime/vm/dart_api_impl.cc (revision 29060) |
+++ runtime/vm/dart_api_impl.cc (working copy) |
@@ -4014,6 +4014,8 @@ |
} |
CHECK_CALLBACK_STATE(isolate); |
+ NoHeapGrowthControlScope no_growth_control; |
+ |
library = Library::New(url_str); |
library.set_debuggable(true); |
library.Register(); |
@@ -4227,6 +4229,8 @@ |
} |
CHECK_CALLBACK_STATE(isolate); |
+ NoHeapGrowthControlScope no_growth_control; |
+ |
Library& library = Library::Handle(isolate, Library::LookupLibrary(url_str)); |
if (library.IsNull()) { |
library = Library::New(url_str); |
@@ -4321,6 +4325,8 @@ |
} |
CHECK_CALLBACK_STATE(isolate); |
+ NoHeapGrowthControlScope no_growth_control; |
+ |
const Script& script = Script::Handle( |
isolate, Script::New(url_str, source_str, RawScript::kSourceTag)); |
Dart_Handle result; |
@@ -4349,6 +4355,8 @@ |
} |
CHECK_CALLBACK_STATE(isolate); |
+ NoHeapGrowthControlScope no_growth_control; |
+ |
const Script& script = Script::Handle( |
isolate, Script::New(url_str, source_str, RawScript::kPatchTag)); |
Dart_Handle result; |