cps-ir: Optimize identical used with constants.

R=sigurdm@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41982 260f80e4-7a28-3924-810f-c04153c831b5
Integrate the Irregexp Regular Expression Engine.

BUG=http://dartbug.com/19090
R=fschneider@google.com

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41983 260f80e4-7a28-3924-810f-c04153c831b5
Don't check against __BYTE_ORDER__ when not defined.

It appears that clang in Xcode does yet define __BYTE_ORDER__.

TBR=fschneider@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41984 260f80e4-7a28-3924-810f-c04153c831b5
Fix type typo in regexp patch file.

TBR=fschneider@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41985 260f80e4-7a28-3924-810f-c04153c831b5
Use field names that are unique only wrt. the inheritance chain in minified mode.

R=floitsch@google.com, sra@google.com
BUG= http://dartbug.com/21510

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41986 260f80e4-7a28-3924-810f-c04153c831b5
Another type error in regexp patch file.

TBR=fschneider@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41987 260f80e4-7a28-3924-810f-c04153c831b5
Fix declaration of _MixinFieldNamingScope.names.

BUG=
TBR=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41988 260f80e4-7a28-3924-810f-c04153c831b5
Encode super calls via extra properties on prototypes.

BUG= http://dartbug.com/21666
R=ahe@google.com, floitsch@google.com

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

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

BUG=
TBR=johnniwinther@google.com

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

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

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41991 260f80e4-7a28-3924-810f-c04153c831b5
Fix dart2dart test expectations after r41983.

R=zerny@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41992 260f80e4-7a28-3924-810f-c04153c831b5
Fix incremental parsing of import combinators.

This bug was discovered by the incremental parse stress tester.

R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41993 260f80e4-7a28-3924-810f-c04153c831b5
Skip slow test corelib/regexp/global_test.

R=vegorov@google.com
BUG=http://dartbug.com/21709,http://dartbug.com/21708

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41994 260f80e4-7a28-3924-810f-c04153c831b5
Explicitly clear out the IC-data register in ExecuteMatch.

The register value is unknown on entry to ExecuteMatch and needs to be
made GC safe before calling the matching function which could be a lazy
stub.

R=vegorov@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41996 260f80e4-7a28-3924-810f-c04153c831b5
Incremental improvements in the matcher.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41997 260f80e4-7a28-3924-810f-c04153c831b5
Fix for resolving super.method() invocations.

R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41998 260f80e4-7a28-3924-810f-c04153c831b5
Disable the irregexp backend.

Currently the use of irregexp breaks the Dartium build.

TBR=vegorov@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@41999 260f80e4-7a28-3924-810f-c04153c831b5
Fix incremental parsing when class name is changed.

This bug was discovered by the incremental parse stress tester.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42000 260f80e4-7a28-3924-810f-c04153c831b5
Add incremental parser test for splitting a combinator.

R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge@42001 260f80e4-7a28-3924-810f-c04153c831b5
Fix incremental scanner's computation of scanEnd.

Previously, if the last token to be replaced (oldLast) was followed by
a lot of whitespace, we ended the scan at the end of oldLast (adjusted
by delta), which meant that we missed tokens inserted into the
whitespace region.  The correct place to end the scan is at the start
of the first token to be kept (oldRightToken), since that ensures that
we include the whitespace region.

Also, change the expression for scanStart to use oldLeftToken rather
than oldFirst (the two are equivalent) in order to highlight the
symmetry between the expressions for scanStart and scanEnd.

This bug was discovered by the incremental parse stress tester.

R=brianwilkerson@google.com

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

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