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

Unified Diff: runtime/vm/dart_api_impl_test.cc

Issue 11185015: Removed StackZone allocation from DARTSCOPE macros (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 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 | « runtime/vm/dart_api_impl.cc ('k') | 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_test.cc
diff --git a/runtime/vm/dart_api_impl_test.cc b/runtime/vm/dart_api_impl_test.cc
index 0df9aa0b3acbc971b010beb92dd277e7912d0151..870f998d1329a17e879fc27fc959d516c0f0554a 100644
--- a/runtime/vm/dart_api_impl_test.cc
+++ b/runtime/vm/dart_api_impl_test.cc
@@ -1242,6 +1242,7 @@ UNIT_TEST_CASE(PersistentHandles) {
}
Dart_ExitScope();
{
+ StackZone zone(isolate);
DARTSCOPE_NOCHECKS(isolate);
for (int i = 0; i < 500; i++) {
String& str = String::Handle();
@@ -2193,6 +2194,7 @@ UNIT_TEST_CASE(LocalHandles) {
ApiLocalScope* scope = state->top_scope();
Dart_Handle handles[300];
{
+ StackZone zone(isolate);
DARTSCOPE_NOCHECKS(isolate);
Smi& val = Smi::Handle();
« no previous file with comments | « runtime/vm/dart_api_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698