Issue 4681. Resolve @metadata for all possible targets
http://code.google.com/p/dart/issues/detail?id=4681

R=brianwilkerson@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10870089

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11361 260f80e4-7a28-3924-810f-c04153c831b5
Fixed whitespace

dart-3988: fix for class members cannot have the same name as the class in dart2js.

BUG=dart-3988
TEST=

Review URL: https://chromiumcodereview.appspot.com//10879091

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11362 260f80e4-7a28-3924-810f-c04153c831b5
Fixed tests so they do indeed confirm that values on optional named parameters are not allowed. Added check to the dart2js parser, so that setting values on optional named parameters is flagged as error. Tests pass.

BUG=dart:351
TEST=

Review URL: https://chromiumcodereview.appspot.com//10800027

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11363 260f80e4-7a28-3924-810f-c04153c831b5
Fixed tests so they do indeed confirm that values on optional named parameters are not allowed. Added check to the dart2js parser, so that setting values on optional named parameters is flagged as error. Tests pass.

BUG=dart:351
TEST=

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

Review URL: https://chromiumcodereview.appspot.com//10800027

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11364 260f80e4-7a28-3924-810f-c04153c831b5
Serialize Elements through PortSync

Review URL: https://chromiumcodereview.appspot.com//10883037

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11365 260f80e4-7a28-3924-810f-c04153c831b5
Fix syntax error

It appears that dart2js is not catching this, but dartc and the dartvm are.

TBR=efortuna@google.com

Review URL: https://chromiumcodereview.appspot.com//10869069

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11366 260f80e4-7a28-3924-810f-c04153c831b5
Regen dart:html and fix status

TBR=efortuna@google.com

Review URL: https://chromiumcodereview.appspot.com//10883049

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11367 260f80e4-7a28-3924-810f-c04153c831b5
Mark samples/lib/layout/layout_test as slow.

This has flaked a few times on linux checked mode
Review URL: https://chromiumcodereview.appspot.com//10876077

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11368 260f80e4-7a28-3924-810f-c04153c831b5
Use patching for Expando so the implementation-specific files are not needed in the SDK.

Make extra methods private in VM version.

R=ajohnsen@google.com,cshapiro@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10870064

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11369 260f80e4-7a28-3924-810f-c04153c831b5
Bug/feature request fix for bug 3677.

BUG=

Review URL: https://chromiumcodereview.appspot.com//10883022

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11370 260f80e4-7a28-3924-810f-c04153c831b5
Unify Object implementation across dart2js and VM.

R=ajohnsen@google.com,lrn@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10878050

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11372 260f80e4-7a28-3924-810f-c04153c831b5
Separate branch on strict compare into a new IL instruction.

This avoid unnecessary environment uses since the strict compare
can not deoptimize.

This is a first step in refactoring branch instructions so that we
can easily do explicit checks for specialized comparisons (smi, double).
Review URL: https://chromiumcodereview.appspot.com//10867050

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11373 260f80e4-7a28-3924-810f-c04153c831b5
Add --additional-compiler-flags option to tweak compilation.

For now it is only supported by dart2dart pipeline, but can be easily
extended to other pipelines which require compilation step.

R=ricow@google.com

Review URL: https://chromiumcodereview.appspot.com//10880066

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11374 260f80e4-7a28-3924-810f-c04153c831b5
Better splitting of flag string.

TBR=ricow@google.com

Review URL: https://chromiumcodereview.appspot.com//10876078

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11375 260f80e4-7a28-3924-810f-c04153c831b5
Generalize the selector / optimized function tracking. This is
work in progress, but the intent is to get the selector map
tracking in place and start using it for making better optimization
decisions.

Next steps: Make static calls use the new framework and get rid
of InvocationInfo.

R=sgjesse@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10873080

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11376 260f80e4-7a28-3924-810f-c04153c831b5
Limit Slow marker to only checked mode for layout_test in dart2js

Addressing additional review comments from:
https://chromiumcodereview.appspot.com//10876077
committed in revision 11368.
Review URL: https://chromiumcodereview.appspot.com//10882054

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11377 260f80e4-7a28-3924-810f-c04153c831b5
Fix broken test.

R=sgjesse@google.com
BUG=

Review URL: https://chromiumcodereview.appspot.com//10879094

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11378 260f80e4-7a28-3924-810f-c04153c831b5
Validate well-formedness of the use lists in debug mode.

R=fschneider@google.com,kmillikin@google.com

Review URL: https://chromiumcodereview.appspot.com//10879041

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11379 260f80e4-7a28-3924-810f-c04153c831b5
Unify String.

BUG=

Review URL: https://chromiumcodereview.appspot.com//10883052

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11380 260f80e4-7a28-3924-810f-c04153c831b5
Fix string unifizationf for dartc.

We don't have to expose string.dart anymore so merge it with
string_patch.dart.

BUG=

Review URL: https://chromiumcodereview.appspot.com//10868105

git-svn-id: http://dart.googlecode.com/svn/branches/bleeding_edge/dart@11381 260f80e4-7a28-3924-810f-c04153c831b5