Chromium Code Reviews| Index: dart/frog/presubmit.py |
| diff --git a/dart/frog/presubmit.py b/dart/frog/presubmit.py |
| index e883156fba3496ac2f063720b82887637ed3947c..4ab5ce9f59ffa86452e85d47f6ac0fd9870432b1 100755 |
| --- a/dart/frog/presubmit.py |
| +++ b/dart/frog/presubmit.py |
| @@ -51,7 +51,7 @@ 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', |
| @@ -59,6 +59,16 @@ def main(args): |
| '--', '--enable_type_checks', '--out=frogsh', 'frog.dart') |
| elapsed = time.time() - start |
| print 'Compiling on Dart VM took %s seconds %s' % (b(elapsed), |
|
kasperl
2011/11/08 12:32:49
Maybe throw 'in checked mode + compile all' in a l
ahe
2011/11/08 12:40:31
Done.
|
| + b('in checked mode ' |
| + '+ compile all')) |
| + |
| + # 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 |
| + print 'Compiling on Dart VM took %s seconds %s' % (b(elapsed), |
| b('in checked mode')) |
| # VM Normal, produces checked |