b4b02a6bde
when the --enable_interpreter flag is passed to gen_snapshot/dart. Change-Id: I6e9481e1793e4c97fd6b14b56e55aafcb044fc23 Reviewed-on: https://dart-review.googlesource.com/c/78150 Reviewed-by: Ryan Macnak <rmacnak@google.com> Commit-Queue: Zach Anderson <zra@google.com>
9 lines
346 B
Dart
9 lines
346 B
Dart
// Copyright (c) 2018, the Dart project authors. Please see the AUTHORS file
|
|
// 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.
|
|
|
|
void main(List<String> args) {
|
|
final isTraining = args.contains("--train");
|
|
print(isTraining ? 'OK(Trained)' : 'OK(Run)');
|
|
}
|