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

Unified Diff: runtime/vm/dart_api_impl.cc

Issue 33753005: Fix bug 13827: (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 years, 2 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: 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;
« 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