Commit Graph

11 Commits

Author SHA1 Message Date
scheglov@google.com d9ecbeff5b Support for --machine-problems, tests for PrettyErrorFormatter
R=zundel@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8476005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1258 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-07 14:59:56 +00:00
scheglov@google.com d011f459ac New ErrorCode implementations.
R=zundel@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8395013

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@841 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-27 17:22:32 +00:00
zundel@google.com 85a0fa161b Migrate --expose_core_impl flag from DartRunner to DartCompiler.
R=ngeoffray
BUG=527517

Review URL: http://codereview.chromium.org//8333016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@553 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-19 14:36:07 +00:00
johnlenz@google.com eadf5e05a2 Add a command-line option for generating source maps.
Review URL: http://codereview.chromium.org//8287001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@486 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-17 20:58:35 +00:00
johnlenz@google.com 145154cf2b Enabled class name minification in production mode. Reduces removes 52K (optimzed) from swarm.
Review URL: http://codereview.chromium.org//8252006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@401 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-13 16:16:33 +00:00
zundel@google.com 0294b62be1 remove TestRunner and revector callers to DartRunner
It only had a few methods in it that all ended up delegating to DartRunner.

Review URL: http://codereview.chromium.org//8223005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@306 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-10 19:11:41 +00:00
mmendez@google.com fc7390d97b Add support for --enable_type_checks (developer mode) for dartc.
This patch is based on https://chromereviews.googleplex.com/3520019/.  However it addresses the following issues:

1) TypeError exceptions will now have the stack trace filled in.
2) Type parameters are now accessible from closurized code, including the trampoline shims for named optinal parameters.
3) Suppress use of FunctionExpressionInliner with type checks because the inline normalization can leave return nodes in the AST.
4) Pass the generateHumanReadableOutput flag to the closure backend.
5) TypeDartcTest passes in debug and release modes with type checking enabled.  We still need to enable the additional cases in the code.

Review URL: https://chromereviews.googleplex.com/3558021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@271 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-08 04:11:34 +00:00
zundel@google.com 909ba0d3a7 A problem with options parsing due to half-way converting from RunnerFlags
Cleans up the usage message for cmdline parsing, and passes the
object CompilerOptions (and friends) around instead of the array
of command line arguments.

Committed: https://code.google.com/p/dart/source/detail?r=187

Review URL: https://chromereviews.googleplex.com/3565012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@189 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 02:05:19 +00:00
johnlenz@google.com 5d45b72a3a Rollback breaking change.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@188 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 01:16:59 +00:00
zundel@google.com b5b46da81c A problem with options parsing due to half-way converting from RunnerFlags
Cleans up the usage message for cmdline parsing, and passes the
object CompilerOptions (and friends) around instead of the array
of command line arguments.

Review URL: https://chromereviews.googleplex.com/3565012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@187 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 00:56:18 +00:00
dgrove@google.com 977977e6ea Initial checkin.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@9 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 05:00:35 +00:00