Commit Graph

8925 Commits

Author SHA1 Message Date
sra@google.com 8b14fbced0 Redo "Fix for issue 16497 - fix load elimination aliasing for typed arrays"
Re-add assignment 'cast' to avoid analyzer warning.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32302 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 23:33:29 +00:00
sra@google.com 020c305407 Revert "Fix for issue 16497 - fix load elimination aliasing for typed arrays"
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32301 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 23:26:30 +00:00
sra@google.com 589123472f Fix for issue 16497 - fix load elimination aliasing for typed arrays
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32300 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 23:06:19 +00:00
kevmoo@google.com 9b5165c2f8 Reverting 32284 - unittest using zones - investigating breaks in html
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32288 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 20:51:44 +00:00
kevmoo@google.com 245640e3d9 pkg/unittest: Run each test in a Zone
added a change log
Deprecate methods with behavior subsumed by runZoned
removed rerunTests
updated async/future_timeout_test to not assume Zone.ROOT during test run

BUG= https://code.google.com/p/dart/issues/detail?id=13277
R=nweiz@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32284 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 17:52:44 +00:00
johnniwinther@google.com 9b55806eb4 Test source mirrors with lib/mirrors test.
BUG=
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32280 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 13:37:10 +00:00
floitsch@google.com ee2258d2e2 Infer types for compile-time constant closures.
BUG= http://dartbug.com/16448
R=johnniwinther@google.com

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32279 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 12:40:13 +00:00
floitsch@google.com dd85f3885f Revert "Infer types for compile-time constant closures."
This reverts commit r32276.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32278 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 10:29:42 +00:00
floitsch@google.com 75ff4c8315 Infer types for compile-time constant closures.
BUG= http://dartbug.com/16448
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32276 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 10:02:55 +00:00
lrn@google.com 6f4ac08a2b Add Capability implementation to dart2js libraries.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32275 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 09:30:46 +00:00
lrn@google.com 29dd07f51a Add Capability class.
Currently throws UnimplementedError in constructor patches. All implementation is still missing.

R=floitsch@google.com, sgjesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32274 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 09:23:38 +00:00
ricow@google.com 18c7d04d90 Remove non existent paths from the analyze_library suite and add bugs for all other entries
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32273 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 09:00:44 +00:00
sra@google.com 56b09ad90b Test for Issue 16497
Review URL: https://codereview.chromium.org//132883020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32272 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-04 03:33:02 +00:00
jmesserly@google.com fdc29a9ed5 regenerate fixed custom_elements polyfill
fixes an issue in the previous package, it was missing MutationObservers which it expects included in the binary generated by Grunt.
This did not happen because the sources are pulled in from a relative path, rather than being included in the repository, and there was unfortunately no error issued.

R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32263 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-03 21:52:24 +00:00
brianwilkerson@google.com 7ca113a5ac Fix the build. Not sure why this test passes on my local machine but not on the bot.
Review URL: https://codereview.chromium.org//144953004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32262 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-03 20:55:31 +00:00
brianwilkerson@google.com b4d20f6c94 Rename getNextAnalysisTask and clean-up one method
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32261 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-03 20:14:25 +00:00
floitsch@google.com 1a64cb2a18 Mark custom/document_register_type_extensions_test/functional as flaky.
Review URL: https://codereview.chromium.org//153013002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32257 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-03 18:58:05 +00:00
rmacnak@google.com 509556a094 Fix handling of CRLF line endings in Script::GetSnippet.
BUG=http://dartbug.com/16098
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32254 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-03 18:11:57 +00:00
floitsch@google.com f336830ceb classes with call-methods were not recognized as Functions.
Also fixes similar issue (classes with 'call' getter were recognized as Function).

BUG= http://dartbug.com/16401
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32252 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-03 17:45:01 +00:00
vegorov@google.com 0470bef7e8 Fix html/js test on Dartium.
Don't use identity check on strings, use equality instead.

R=kasperl@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32245 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-03 13:51:59 +00:00
vegorov@google.com 0b33ed017c Ensure that dart:js does not attempt to load cached proxies from prototypes.
dart:js caches proxies on the object itself thus it must guard loading cached proxy from the object with a hasOwnProperty check.

R=justinfagnani@google.com
BUG=dart:16199

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32244 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-03 13:01:27 +00:00
sigurdm@google.com f8d3b2d466 Emit the type test support code to the right output unit.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32239 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-03 09:55:09 +00:00
johnniwinther@google.com 99d4b3343d Another analyzer nondeterminism.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32238 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-03 09:50:24 +00:00
johnniwinther@google.com 3f54abdff5 Fix analyzer redness.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32235 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-03 08:22:21 +00:00
floitsch@google.com 9f1ebd7f55 Mark issue14236 test as RuntimeError in addition to crash.
Review URL: https://codereview.chromium.org//151903004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32233 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-01 02:22:25 +00:00
floitsch@google.com 630ec3f4ed Mark Timer_A01_t01 as flaky on Dartium.
Review URL: https://codereview.chromium.org//151943003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32232 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-01 01:54:36 +00:00
floitsch@google.com d94eacec20 Mark custom/js_custom_test as flaky
Review URL: https://codereview.chromium.org//147223004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32231 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-01 01:47:06 +00:00
floitsch@google.com 0976357b34 Mark custom_elements_test/mixins as flaky
Review URL: https://codereview.chromium.org//130913015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32230 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-01 01:42:13 +00:00
floitsch@google.com eaadbc4780 Mark mirror_printer_test as slow.
Review URL: https://codereview.chromium.org//134623009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32228 260f80e4-7a28-3924-810f-c04153c831b5
2014-02-01 01:35:20 +00:00
rmacnak@google.com 2da8c830a3 Fix non-specific type parameter in member maps.
BUG=http://dartbug.com/14972
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32225 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 23:52:15 +00:00
floitsch@google.com f54884a848 Update status file for analyzer.
Review URL: https://codereview.chromium.org//140033006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32224 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 23:30:10 +00:00
sra@google.com 677a3451a2 Test for Issue 16448
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32214 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 21:10:18 +00:00
floitsch@google.com fef58d0df1 Mark more custom tests as flaky.
Review URL: https://codereview.chromium.org//151753002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32213 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 20:32:57 +00:00
floitsch@google.com 777e4909ea Mark test as failing for drt, vm and dartium, and not just vm.
Review URL: https://codereview.chromium.org//151503007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32211 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 20:16:13 +00:00
floitsch@google.com af3527dae8 Mark document_register_basic_test as flaky on IE9.
Review URL: https://codereview.chromium.org//147703004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32204 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 17:53:35 +00:00
floitsch@google.com 22b900cd29 Mark html/custom/constructor_calls_created_synchronously_test as flaky.
Review URL: https://codereview.chromium.org//134923008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32201 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 17:33:05 +00:00
johnmccutchan@google.com e2e0556d16 Update co19 dart2js status file
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32200 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 17:32:42 +00:00
johnmccutchan@google.com 9d80608b9c Add Float64x2, Float64x2List, etc... with runtime and dart2js implementations
R=sra@google.com, srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32196 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 15:28:05 +00:00
johnniwinther@google.com 7b52480b56 Align source mirrors with runtime mirrors.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32195 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 14:15:26 +00:00
johnniwinther@google.com 957bab39c2 Perform override and inheritance checks.
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32192 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 12:21:49 +00:00
jmesserly@google.com 77f39712b7 mark flaky ie9 tests
Review URL: https://codereview.chromium.org//151103002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32187 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-31 02:09:10 +00:00
jmesserly@google.com 97d49efbb0 fix custom_elements_test on ie10
Pete warned me about this one test that isn't using the loadPolyfill function, but I forgot to fix it in last change.

by deleting the custom copy, it will pick up the one in utils, and that one correctly loads MutationObserver polyfill

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32176 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 21:48:40 +00:00
floitsch@google.com efc8f3754c Mark bound_closure_interceptor_type_test as flaky.
Review URL: https://codereview.chromium.org//143083005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32175 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 21:48:02 +00:00
jmesserly@google.com 0f277224e8 update custom elements and shadow dom
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32171 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 20:56:22 +00:00
sra@google.com f86acd4f74 Test for Issue 16407
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32168 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 18:52:16 +00:00
hausner@google.com f9089a3ca5 Find all compiled copies of a function when setting breakpoint
Fixes a bug where the debugger did not find a compiled implicit
closure if the non-closureized version had not been compiled yet,
thus failing to set a breakpoint.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32165 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 18:08:02 +00:00
floitsch@google.com 61e503c7cb Fix warnings in tests.
Review URL: https://codereview.chromium.org//141563010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32160 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 15:25:49 +00:00
floitsch@google.com 40f277dab6 Fix JS-backend when MirrorsUsed target a static field, but there is no mirrors usage.
r31964 (https://codereview.chromium.org/141753002) ensures that type-declarations are resolved, but that wasn't the case for static fields that weren't referenced except through "MirrorsUsed". Dart2Js didn't resolve or compile the static, but then tried to emit its getters/setters (which ended up calling the "_resolveTypeDeclaration" in members.dart).

With this patch we always enqueue static variables that are referenced by MirrorsUsed. If the user doesn't use mirrors it will increase the code-size (slightly) but that should be a rare case.

R=johnniwinther@google.com, kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32159 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 15:04:25 +00:00
karlklose@google.com 8fa928d1dd Reapply "Make reflectClassByName work with interceptor names."
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32158 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 12:48:30 +00:00
johnniwinther@google.com accfb9e184 Revert "Handle type checking of generic compile time constants."
This reverts commit r32154.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@32156 260f80e4-7a28-3924-810f-c04153c831b5
2014-01-30 10:03:54 +00:00