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

Unified Diff: runtime/vm/compiler_test.cc

Issue 396403002: Fix handle leak in EvalExpressionExhaustCIDs test. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 6 years, 5 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/tests/vm/vm.status ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/compiler_test.cc
diff --git a/runtime/vm/compiler_test.cc b/runtime/vm/compiler_test.cc
index 84850084a1367bd4dfda386520562a8eed32ff10..1939a280e8afc8187af2adfa09cbb2e52fcf80ab 100644
--- a/runtime/vm/compiler_test.cc
+++ b/runtime/vm/compiler_test.cc
@@ -123,6 +123,7 @@ TEST_CASE(EvalExpressionExhaustCIDs) {
const intptr_t classTableSize = 1 << RawObject::kClassIdTagSize;
for (intptr_t i = 0; i < classTableSize; i++) {
+ StackZone zone(Isolate::Current());
val = lib.Evaluate(expression, Array::empty_array(), Array::empty_array());
}
« no previous file with comments | « runtime/tests/vm/vm.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698