Mark co19 test with co19 bug number.

Discussed this with karl, and ended up reporting a co19 bug.

R=floitsch@google.com

Review URL: https://codereview.chromium.org//809603010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42433 260f80e4-7a28-3924-810f-c04153c831b5
Fix a type annotation.

R=sigurdm@google.com

Review URL: https://codereview.chromium.org//816463002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42434 260f80e4-7a28-3924-810f-c04153c831b5
dart2js: put all type-test related properties on the prototype and not on the constructor.

R=karlklose@google.com

Committed: https://code.google.com/p/dart/source/detail?r=42392
Reverted: https://code.google.com/p/dart/source/detail?r=42408

Review URL: https://codereview.chromium.org//802653005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42435 260f80e4-7a28-3924-810f-c04153c831b5
dart2js: Move type_test_emitter.

R=karlklose@google.com, zarah@google.com

Review URL: https://codereview.chromium.org//809483005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42436 260f80e4-7a28-3924-810f-c04153c831b5
dart2js: Change typedef encoding.

Currently typedefs have a descriptor field that looks like they don't have any super-class:

_Equality: {
  "^": ":58"
}

When we call finishClass we thus assume that it's the Dart Object class. While this didn't hurt (as far as I could tell), it feels wrong.

Since typedefs are only emitted when reflection is enabled I'm ok with adding more code to the output (not that it's that much).

The output now looks as follows:

  _Equality: {
    "^": "Object;",
    $typedefType: 58,
    $$isTypedef: true
  },

At the same time I removed the shared encoding class. It turns out that it doesn't give a lot of flexibility, and by using the shared embedded constant strings, the linkage is not too bad.

R=karlklose@google.com

Review URL: https://codereview.chromium.org//804423003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42437 260f80e4-7a28-3924-810f-c04153c831b5
Change the S-expression representation of constant values.

Before we called toStructuredString, which made no guarantee to
produce something that could be parsed as an S-expression.  Instead
implement our own conversion to S-expressions.

R=karlklose@google.com
BUG=

Review URL: https://codereview.chromium.org//813753002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42438 260f80e4-7a28-3924-810f-c04153c831b5
dart2js: Remove builder dependency from type_test_generator.

R=karlklose@google.com

Review URL: https://codereview.chromium.org//812603004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42439 260f80e4-7a28-3924-810f-c04153c831b5
dart2js: Add a pointer from the emitter's JS code to the encoding part.

This makes it easier to understand how things are encoded and why the generated code must do these splits. (In Dart-editor a ctrl-click navigates to the comment and the code that encodes the data).

R=karlklose@google.com

Review URL: https://codereview.chromium.org//813603002

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