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

Unified Diff: tests/standalone/noopt_test.dart

Issue 1373873004: Make --noopt behave like an in-place precompilation. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: sync + enable checked mode Created 5 years, 3 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/precompiler.cc ('k') | tests/standalone/standalone.status » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/standalone/noopt_test.dart
diff --git a/tests/compiler/dart2js/dart2js_batch2_run.dart b/tests/standalone/noopt_test.dart
similarity index 80%
copy from tests/compiler/dart2js/dart2js_batch2_run.dart
copy to tests/standalone/noopt_test.dart
index aee55ef18e5fa77c47bcbf53f5c16125299ed77a..171f3a5d2554f0e0308194fcd8a88408479da3e6 100644
--- a/tests/compiler/dart2js/dart2js_batch2_run.dart
+++ b/tests/standalone/noopt_test.dart
@@ -2,9 +2,8 @@
// for details. All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.
-@notExisting
-var x;
+/// VMOptions=--noopt
main() {
- print(x);
+ print("Hello, --noopt World!");
}
« no previous file with comments | « runtime/vm/precompiler.cc ('k') | tests/standalone/standalone.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698