Commit Graph

2071 Commits

Author SHA1 Message Date
rmacnak@google.com a9c7171aa2 Allow creation of public symbols using MirrorSystem.getSymbol when passing a null library.
R=asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30435 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-20 01:33:24 +00:00
ngeoffray@google.com 68d522cd65 Fix http://code.google.com/p/dart/issues/detail?id=15133.
Implement _ensureNativeList properly.

R=lry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30394 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 10:54:47 +00:00
ngeoffray@google.com 839d9f66fa We cannot use the value stored in a typed array for load elimination, but we should still kill saved values that may alias with that store.
R=lry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30389 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 09:11:34 +00:00
rmacnak@google.com f76f7f7ecf Handle undefined field/getter access from arguments to const constructors in metadata, and related problematic cases.
BUG=http://dartbug.com/13817
R=hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30385 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-19 01:02:26 +00:00
brianwilkerson@google.com 431a9699b8 (TBR) Fix for issue 15151
Review URL: https://codereview.chromium.org//73453007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30382 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-18 23:28:57 +00:00
brianwilkerson@google.com 14bc723b31 Fix for issue 14982
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30381 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-18 22:23:34 +00:00
ngeoffray@google.com 1004058bed Fix https://code.google.com/p/dart/issues/detail?id=15132, by not doing load elimination on typed arrays.
R=lry@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30353 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-18 15:52:47 +00:00
kustermann@google.com a95d147aa7 Status file update for analyzer
TBR=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30345 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-18 13:07:02 +00:00
rmacnak@google.com bc39a8afe8 When ClassMirrors are created by enumerating members of a LibraryMirror, have the ClassMirror use that LibraryMirror as its owner.
BUG=http://dartbug.com/14449
R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30291 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 20:35:59 +00:00
rmacnak@google.com 5e310f4e31 Update mirror tests for removed API and other analyzer warnings.
BUG=http://dartbug.com/14695
R=gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30290 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 19:55:05 +00:00
sra@google.com 7938b72e38 Reapply "Fix issues with field names by ensuring that fields have exactly one name regardless of how the class is extended or mixed."
One additional test started passing, two tests were failing because we generated a gibberish JavaScript property.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30265 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-14 03:02:02 +00:00
zarah@google.com cf17a98d70 Reapply "Retain types of toplevel and instance variables for reflection."
This reverts commit r30222.

R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30224 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-13 12:43:19 +00:00
zarah@google.com 7e41b9a3ec Revert "Retain types of toplevel and instance variables for reflection."
This reverts commit r30220.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30222 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-13 10:04:56 +00:00
zarah@google.com 210f198e8e Retain types of toplevel and instance variables for reflection.
R=johnniwinther@google.com, karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30220 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-13 09:21:36 +00:00
rmacnak@google.com 1dcc9ea681 Ensure constructorName symbols include private manglings.
R=asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30178 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 23:08:38 +00:00
rmacnak@google.com cc3e05ea99 Implement VariableMirror.isConst in the VM and ParameterMirror.isConst in dart2js.
BUG=http://dartbug.com/14671
R=ahe@google.com, asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30161 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-11 17:54:58 +00:00
nweiz@google.com 63ee14720a Mark version.dart in pub as having a CompileTimeError in the analyzer.
BUG=14982
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30136 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-09 02:36:29 +00:00
rmacnak@google.com 93d342b42e Use the runtime for generic subsitution of variable types, return types, parameter types.
BUG=http://dartbug.com/14613
BUG=http://dartbug.com/14156
R=gbracha@google.com, regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30120 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-08 17:54:59 +00:00
johnniwinther@google.com 2d07b5ce90 Update status file.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30105 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-08 09:38:54 +00:00
floitsch@google.com 91b5e131ee Make catch_errors13_test non-flaky.
Was flaky on buildbot:
http://build.chromium.org/p/client.dart/builders/dartium-mac-debug-be/builds/410/steps/drt_core_checked_tests/logs/stdio

R=sra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30087 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-08 00:19:57 +00:00
efortuna@google.com b447e86bd8 Remove default values for point.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30061 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 18:29:52 +00:00
iposva@google.com 1cae21b556 - Reverting mirror changes.
Review URL: https://codereview.chromium.org//62373008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30029 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 02:07:37 +00:00
iposva@google.com d27c33b5b2 - Reverting mirror changes.
Review URL: https://codereview.chromium.org//61873007

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30028 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:57:18 +00:00
iposva@google.com a2d280501e - Reverting mirror changes.
Review URL: https://codereview.chromium.org//63563003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30027 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:48:45 +00:00
rmacnak@google.com bc897425e1 Cascaded mirror removal revert.
Review URL: https://codereview.chromium.org//63363003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30024 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:20:51 +00:00
rmacnak@google.com 8113397b88 Revert removed mirror API from VM.
Review URL: https://codereview.chromium.org//62373006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30023 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-07 01:15:17 +00:00
johnmccutchan@google.com efbf86f30a Take representation into account in ConstantPropagator::VisitInstanceOfInstr
BUG=
R=fschneider@google.com, srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30012 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 23:47:54 +00:00
rmacnak@google.com 1caa73df59 Remove implementations of mirror methods not in the API from the VM. Update tests.
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@30005 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 22:30:45 +00:00
floitsch@google.com 6bdd901604 Add test that makes sure print deals with broken toStrings.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29994 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 20:40:03 +00:00
zarah@google.com 8ad9e7596e Add 'declarations' getter in JsTypeBoundClassMirror.
R=ahe@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29968 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-06 12:19:59 +00:00
floitsch@google.com 8fdee3bb18 Propagate stack trace when using Future.wait.
BUG= http://dartbug.com/14755
R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29923 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-05 18:42:48 +00:00
floitsch@google.com 1532e6db73 Add safety margin to timer_isolate_test.dart
Should make the test less flaky.

R=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29921 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-05 18:20:34 +00:00
johnmccutchan@google.com 29c01044bc This is the final breaking change in dart:typed_data needed for Dart 1.0. We need this change because the ECMAScript SIMD specification only includes Int32x4 and Int32x4List and our types must match.
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29849 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-04 21:56:59 +00:00
scheglov@google.com 24e318c4a6 Issue 14688. Resolve more annotation variants.
https://code.google.com/p/dart/issues/detail?id=14688

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29819 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-04 16:59:34 +00:00
floitsch@google.com 5e2def02a1 Mark timer test as flaky on IE9.
R=blois@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29783 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-02 00:37:43 +00:00
scheglov@google.com 3651d4879a Issue 14685. Don't analyzer parts.
https://code.google.com/p/dart/issues/detail?id=14685

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29781 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 23:46:12 +00:00
scheglov@google.com d4359631f7 New analyzer snapshot.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29765 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 19:24:33 +00:00
floitsch@google.com 232df13346 Fix a few warnings and update status file.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29759 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 17:32:12 +00:00
floitsch@google.com 35e9ae50d9 Fix warnings in library-tests.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29756 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 17:01:11 +00:00
zarah@google.com 48818779ea Reapply "Substitute types in generic superclasses and interfaces." .
This reverts commit r29553.

R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29725 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 07:51:27 +00:00
johnmccutchan@google.com 5f63715d47 SIMD shuffle API changes
R=srdjan@google.com, zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29723 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 07:09:54 +00:00
rmacnak@google.com 9a41994d31 Handle metadata with qualified identifiers.
BUG=http://dartbug.com/11857
BUG=http://dartbug.com/14652
R=gbracha@google.com, hausner@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29720 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 01:19:31 +00:00
rmacnak@google.com b674d13ef1 Mark findInContext as failing on dartium, but not drt.
Review URL: https://codereview.chromium.org//51893006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29719 260f80e4-7a28-3924-810f-c04153c831b5
2013-11-01 01:03:09 +00:00
rmacnak@google.com dcdeab580c Mark findInContext tests as failing on Dartium (can't pass VM flag).
Review URL: https://codereview.chromium.org//55213003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29706 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 21:49:13 +00:00
scheglov@google.com 5ebcad09e8 Issue 14653. It is compile-time error to use unresolved identifier for annotation.
https://code.google.com/p/dart/issues/detail?id=14653

R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29700 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 21:08:26 +00:00
rmacnak@google.com 07c3de9310 Mirror implementation removals: async invoke, mirrorSystemOf(port), Mirror.mirrors.
(API was removed in r29492)

R=ahe@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29698 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 21:01:59 +00:00
rmacnak@google.com f3384bf0eb Hide ClosureMirror.findInContext behind a flag for 1.0.
Test findInContext does not wildcard privates. Fix confused test and implementation that expected inheritance of static members.

BUG=http://dartbug.com/13656
R=ahe@google.com, asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29697 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 20:50:17 +00:00
rmacnak@google.com 05bd81f872 Align behavior of VM's ObjectMirror.setField with language semantics.
R=ahe@google.com, asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29692 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 20:21:01 +00:00
zra@google.com 413cc1a24d Fixing fingerprint.
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29683 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 17:32:06 +00:00
ricow@google.com cc19fd66b7 Mark lib/typed_data/uint32x4_list_test as flaky crashing on sim-mips
BUG: 14644

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@29655 260f80e4-7a28-3924-810f-c04153c831b5
2013-10-31 08:18:03 +00:00