Compute a better name for the interceptors methods and avoid generating duplicates.

I'm still considering if there are better approaches to the abbreviation
and if we should cache the names (based on the selector) in the backend.

R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18801 260f80e4-7a28-3924-810f-c04153c831b5
Create generated tests inside the build directory

Patch Set 1 is a revert of r18295.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18802 260f80e4-7a28-3924-810f-c04153c831b5
Add support for building the new analyzer using gyp.

Do we have a name for the new analyzer? I don't really like the new prefix I use for building and naming.

Also, I don't particularly like the way I handle the jar files, but I
did not find a way to easily make a new string out of a list of
strings using a non space separator.

Additionally, I currently copy in the dependent on jar files so that
we can easily wrap this up, I could make the manifest just refer to
the the files relative to tbe build dir, but that is just asking for
trouble in the long term IMHO.
Review URL: https://codereview.chromium.org//12262040

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18804 260f80e4-7a28-3924-810f-c04153c831b5
Revert "Compute a better name for the interceptors methods and avoid generating duplicates."

This reverts commit fc76bcea9f0d6890c7b32033eade8cb0bf7ab4a8.

R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18805 260f80e4-7a28-3924-810f-c04153c831b5
Add a small JS parser to ease the building of ASTs

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18806 260f80e4-7a28-3924-810f-c04153c831b5
Reland "Compute a better name for the interceptors methods and avoid generating duplicates."

Fix broken test and remove dartc warnings.

R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18807 260f80e4-7a28-3924-810f-c04153c831b5
Record seen classes instead of relying on the resolver. This is more precise
and allows us to not know about JsArray. The information can be used by the
backend as well.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18809 260f80e4-7a28-3924-810f-c04153c831b5
Teach Selector.applies about mixins.

To determine whether or not an element applies to a selector we
have to check if there is a subclass of the receiver type
that mixes in the element instead of defining it. This checks
must be done for both subclass and subtype checks.

R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18811 260f80e4-7a28-3924-810f-c04153c831b5
Use implementation FunctionElements so that pachted methods' bodies are analyzed and return dynamic on JS calls (for now).

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18812 260f80e4-7a28-3924-810f-c04153c831b5
Change the SSA construction pass to also construct def-use chains.

Also modify constant propagation to preserve def-use chains.  Fix a small
bug in the def-use chain for definitions of inlined function return values.

R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18813 260f80e4-7a28-3924-810f-c04153c831b5
Make sure createRuntimeType is only put in the resolution queue when it's actually needed.
Review URL: https://codereview.chromium.org//12321043

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18815 260f80e4-7a28-3924-810f-c04153c831b5
Allow multiple close calls on a StreamController.

This is extreamly convenient for IO streams.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18816 260f80e4-7a28-3924-810f-c04153c831b5
Revert "Change the SSA construction pass to also construct def-use chains."

This reverts svn revision 18813 due to dart2js test failures.

TBR=kasperl@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18817 260f80e4-7a28-3924-810f-c04153c831b5
Inline ByteArray._setIndexed in the flow graph optimizer.
Review URL: https://codereview.chromium.org//12317011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18818 260f80e4-7a28-3924-810f-c04153c831b5
Make an erroneous element when setting a final field.
Review URL: https://codereview.chromium.org//12326041

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18819 260f80e4-7a28-3924-810f-c04153c831b5
Merge IO v2 branch to bleeding edge

R=ager@google.com, ajohnsen@google.com, whesse@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18820 260f80e4-7a28-3924-810f-c04153c831b5
Add missing files from previous commit

TBR=ager@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18821 260f80e4-7a28-3924-810f-c04153c831b5
Remove reference to a file which is gone

R=ager@google.com

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18822 260f80e4-7a28-3924-810f-c04153c831b5
Mark two secure tests as flaky.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@18823 260f80e4-7a28-3924-810f-c04153c831b5
dart2js: Teach the JS parser about array literals

R=ahe@google.com
BUG=

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

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