| Index: dart/frog/presubmit.py
|
| diff --git a/dart/frog/presubmit.py b/dart/frog/presubmit.py
|
| index c35792772d80361d51684bd54e20d100bfe2dd83..f9fc55d45c4bdb3384e753b331e4a468321534c3 100755
|
| --- a/dart/frog/presubmit.py
|
| +++ b/dart/frog/presubmit.py
|
| @@ -51,15 +51,24 @@ def main(args):
|
| """Adds ANSI escape-code for bold-face"""
|
| return "\033[1m%s\033[0m" % s
|
|
|
| - # VM Checked, produces checked
|
| + # VM Checked/CompileAll, produces checked
|
| print 'Started'
|
| start = time.time()
|
| RunCommand('./frog.py',
|
| '--vm_flags=--compile_all --enable_type_checks --enable_asserts',
|
| '--', '--enable_type_checks', '--out=frogsh', 'frog.dart')
|
| elapsed = time.time() - start
|
| - print 'Compiling on Dart VM took %s seconds %s' % (b(elapsed),
|
| - b('in checked mode'))
|
| + mode = 'in checked mode + compile all'
|
| + print 'Compiling on Dart VM took %s seconds %s' % (b(elapsed), b(mode))
|
| +
|
| + # VM Checked, produces checked
|
| + start = time.time()
|
| + RunCommand('./frog.py',
|
| + '--vm_flags=--enable_type_checks --enable_asserts',
|
| + '--', '--enable_type_checks', '--out=frogsh', 'frog.dart')
|
| + elapsed = time.time() - start
|
| + mode = 'in checked mode'
|
| + print 'Compiling on Dart VM took %s seconds %s' % (b(elapsed), b(mode))
|
|
|
| # VM Normal, produces checked
|
| start = time.time()
|
|
|