Index: tests/standalone/oom_error_stacktrace_test.dart |
diff --git a/tests/standalone/oom_error_stacktrace_test.dart b/tests/standalone/oom_error_stacktrace_test.dart |
index 11b0f90a40c0ea7f397b073b18f5e60c9a87d9df..ffa33ae4d745e114a4350843afcc04038154cd3b 100644 |
--- a/tests/standalone/oom_error_stacktrace_test.dart |
+++ b/tests/standalone/oom_error_stacktrace_test.dart |
@@ -10,12 +10,15 @@ class Helper1 { |
static int func1() { |
return func2(); |
} |
+ |
static int func2() { |
return func3(); |
} |
+ |
static int func3() { |
return func4(); |
} |
+ |
static int func4() { |
var i = 0; |
try { |
@@ -27,6 +30,7 @@ class Helper1 { |
} |
return i; |
} |
+ |
static List func5() { |
// Cause an OOM(out of memory) exception. |
var l1 = new List(268435455); |