Commit Graph

7 Commits

Author SHA1 Message Date
Stephen Adams 4fc394c96d js_runtime: streamline stringReplaceAllUnchecked
Use a literal RegExp to avoid creating new uncompiled RegExp each time.

R=floitsch@google.com

Committed: https://github.com/dart-lang/sdk/commit/be1b32207bc1c1f610c2e96f32c9c6ca37fa0259

Reverted: https://github.com/dart-lang/sdk/commit/0d23ec2f7a7f2c1b5a0250de6bdd6e48aeace42d

Review URL: https://codereview.chromium.org/1557673002 .
2016-01-05 13:37:20 -08:00
Stephen Adams 0d23ec2f7a Revert "js_runtime: streamline stringReplaceAllUnchecked"
I missed a use of the REGEXP in another file.
I will recommit with the REGEXP replaced with a function.

Review URL: https://codereview.chromium.org/1559953002 .
2016-01-04 09:29:29 -08:00
Stephen Adams be1b32207b js_runtime: streamline stringReplaceAllUnchecked
Use a literal RegExp to avoid creating new uncompiled RegExp each time.

R=floitsch@google.com

Review URL: https://codereview.chromium.org/1557673002 .
2016-01-04 08:26:01 -08:00
floitsch@google.com 8fd6d0aafd Remove Expect from core library.
Committed: https://code.google.com/p/dart/source/detail?r=19755
Reverted: http://code.google.com/p/dart/source/detail?r=19756

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20996 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 19:43:16 +00:00
floitsch@google.com 5dc8107c53 Revert "Remove Expect from core library."
This reverts commit 19755.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19756 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-09 03:19:07 +00:00
floitsch@google.com 12dbd2fd70 Remove Expect from core library.
Review URL: https://codereview.chromium.org//12212016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19755 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-09 02:40:37 +00:00
floitsch@google.com 4a7dfd2da3 Big merge from experimental to bleeding edge.
Review URL: https://codereview.chromium.org//11783009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@16687 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-07 11:23:16 +00:00