smok@google.com
|
0168cbb59a
|
[dart2dart] In placeholder collector skip non top-level elements from dart:* libraries.
Protects us from double-prefixing things like:
import('dart:io');
Platform.operatingSystem;
Review URL: https://chromiumcodereview.appspot.com//10868020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11174 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 16:42:15 +00:00 |
|
johnniwinther@google.com
|
7c61b110d8
|
Const variables handled as final
Review URL: https://chromiumcodereview.appspot.com//10879003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11170 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 16:15:15 +00:00 |
|
smok@google.com
|
582730cb6d
|
[dart2dart] Fix type variables for interfaces and default classes if they are in different libs.
Example:
lib1: interface I<K> default C<K> {...}
lib2: class C<K> {...}
Review URL: https://chromiumcodereview.appspot.com//10875009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11168 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 15:55:39 +00:00 |
|
smok@google.com
|
6a44ac9411
|
dart2dart Rename statics as globals.
Review URL: https://chromiumcodereview.appspot.com//10870008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11159 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 15:10:01 +00:00 |
|
ahe@google.com
|
050cf0585f
|
Revert revision 11150 to unbreak the VM tests.
Review URL: https://chromiumcodereview.appspot.com//10879011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11156 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 14:35:13 +00:00 |
|
ager@google.com
|
722c1a3ce6
|
Deprecate Math object in corelib in favor of dart:math library.
Review URL: https://chromiumcodereview.appspot.com//10829459
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11155 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 14:33:01 +00:00 |
|
kasperl@google.com
|
ea966d5647
|
Simplify HInvokeInterceptor.
R=ngeoffray@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10866021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11153 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 14:24:53 +00:00 |
|
ahe@google.com
|
d96c58598a
|
Reify partial metadata.
Review URL: https://chromiumcodereview.appspot.com//10869013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11152 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 14:17:55 +00:00 |
|
ager@google.com
|
0a55fa5f3b
|
Deal with the JS helper separately from the 'native' keyword.
Another change to prepare for the removal of the corelib Math
object in favor of the dart:math library.
R=ahe@google.com,johnniwinther@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10867011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11151 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 13:57:56 +00:00 |
|
ahe@google.com
|
cadf648307
|
Initialize field to unbreak VM test.
Review URL: https://chromiumcodereview.appspot.com//10871014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11150 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 13:49:57 +00:00 |
|
ahe@google.com
|
234caf4849
|
Create an outline of metadata API in dart2js.
Review URL: https://chromiumcodereview.appspot.com//10879006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11147 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 13:37:13 +00:00 |
|
ajohnsen@google.com
|
3c00b2ceae
|
Revert "Support sourceing files in patches."
This reverts commit f574332325d74c1fe4370496fc5ea212c6f9ac7f.
BUG=
Review URL: https://chromiumcodereview.appspot.com//10869012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11145 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 13:10:00 +00:00 |
|
sgjesse@google.com
|
d354eb558b
|
Fix issue 4639
See comment#3 on http://code.google.com/p/dart/issues/detail?id=4639
R=kasperl@google.com
BUG=dart:4639
TEST=tests/compiler/dart2js_extra/regress/4639_test.dart
Review URL: https://chromiumcodereview.appspot.com//10879007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11144 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 13:07:11 +00:00 |
|
lrn@google.com
|
d82749cc47
|
Make addGetterOrSetter (now: defineAccessor) not add the abstract field as a member.
The abstract field element is only present as a result of a named
lookup in order to return both getter and setter as one result.
Review URL: https://chromiumcodereview.appspot.com//10837140
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11142 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 12:57:04 +00:00 |
|
smok@google.com
|
8cb030adf2
|
dart2dart Make sure we never create placeholder for Dynamic type.
Review URL: https://chromiumcodereview.appspot.com//10876011
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11141 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 12:52:33 +00:00 |
|
smok@google.com
|
16f3d80d74
|
dart2dart Fix type variables rename
Review URL: https://chromiumcodereview.appspot.com//10866017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11140 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 12:47:25 +00:00 |
|
ajohnsen@google.com
|
a94492e7f0
|
Remove the shared js_isolate_impl and the current js/dart interop implementation.
The implementation dependent on the private implementation
implementation of isolates in of dart2js. The tests have been marked as
Fail for now.
BUG=
Review URL: https://chromiumcodereview.appspot.com//10877009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11133 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 11:24:25 +00:00 |
|
kasperl@google.com
|
07210cb6d1
|
Remove a few warnings.
R=karlklose@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10875006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11129 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 09:30:23 +00:00 |
|
antonm@google.com
|
77308b4269
|
Process private identifier in visitIdentifier.
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10836360
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11128 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 09:24:58 +00:00 |
|
antonm@google.com
|
cfddb2fc3b
|
Properly rename main methods declared in imported libs.
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10878004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11127 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 09:03:22 +00:00 |
|
ahe@google.com
|
1ada772cc1
|
Remove most superfluous getter arguments from dart2js.
Review URL: https://chromiumcodereview.appspot.com//10876008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11123 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 06:33:24 +00:00 |
|
messick@google.com
|
a46d823c7a
|
Add a field to ClassNode that holds a NodeList of its members.
Modify Unparser to print the class body.
Add (simple) tests to verify the body is being recorded.
Review URL: https://chromiumcodereview.appspot.com//10834374
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11122 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 03:11:41 +00:00 |
|
dgrove@google.com
|
37b8aa0d98
|
Remove most references to frog from lib/compiler .
Review URL: https://chromiumcodereview.appspot.com//10832436
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11115 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-22 00:01:23 +00:00 |
|
sethladd@google.com
|
1eb5340ceb
|
add comments for dart:io and dart:intl library
BUG=
Review URL: https://chromiumcodereview.appspot.com//10866003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11100 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 21:32:12 +00:00 |
|
ajohnsen@google.com
|
390699418b
|
Make _ReceivePortImpl implement ReceivePort.
BUG=
Review URL: https://chromiumcodereview.appspot.com//10832423
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11088 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 19:12:02 +00:00 |
|
ajohnsen@google.com
|
0d078037e2
|
Re-apply 'Unify dart:isolate.' with fixes for autogenerated dart2js and dartium html files.
Old Review URL: https://chromiumcodereview.appspot.com//10828410
BUG=
Review URL: https://chromiumcodereview.appspot.com//10828411
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11084 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 18:47:43 +00:00 |
|
ajohnsen@google.com
|
e462fccf79
|
Support sourceing files in patches.
The path given is relative to the patch, not the library.
BUG=
Review URL: https://chromiumcodereview.appspot.com//10827448
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11082 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 18:37:34 +00:00 |
|
ajohnsen@google.com
|
1e980c2ab7
|
Also expose JS to dart:path in dart2js.
BUG=
Review URL: https://chromiumcodereview.appspot.com//10831410
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11081 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 18:13:43 +00:00 |
|
ajohnsen@google.com
|
999ab57823
|
Only add JS once, and not to very single patched library.
BUG=
Review URL: https://chromiumcodereview.appspot.com//10828413
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11078 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 17:39:07 +00:00 |
|
karlklose@google.com
|
3759a01424
|
Fix type annotation in the typechecker.
TBR'ed to unbreak the build.
TBR=ahe@google.com
Review URL: https://chromiumcodereview.appspot.com//10824401
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11068 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 16:14:15 +00:00 |
|
antonm@google.com
|
ce718e65fb
|
Just ignore erroneous elements.
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10825475
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11065 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 15:46:46 +00:00 |
|
smok@google.com
|
d182624b92
|
Make ClassNode visit type parameters in visitChildren
Review URL: https://chromiumcodereview.appspot.com//10831406
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11057 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 15:18:28 +00:00 |
|
antonm@google.com
|
1b4e931081
|
Properly rename type variables.
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10861029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11054 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 14:46:53 +00:00 |
|
karlklose@google.com
|
5ac1789d6c
|
Fix dart2dart and dart2js build.
TBR=antonm@google.com
Review URL: https://chromiumcodereview.appspot.com//10827442
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11051 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 14:36:38 +00:00 |
|
antonm@google.com
|
d5525c3fa6
|
Better version of TypeVariableElement.position.
R=ahe@google.com,johnniwinther@google.com
Review URL: https://chromiumcodereview.appspot.com//10837361
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11047 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 14:10:33 +00:00 |
|
antonm@google.com
|
fd1014dc11
|
More generic input type.
TBR=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10837360
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11046 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 14:00:32 +00:00 |
|
antonm@google.com
|
435969e63b
|
Implement TypeVariableElement.position.
R=ahe@google.com,johnniwinther@google.com
Review URL: https://chromiumcodereview.appspot.com//10824399
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11044 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 13:54:05 +00:00 |
|
karlklose@google.com
|
aeafe0fdda
|
Add erroneous elements for function types and use them to allow unresolvable constructors to be handled in the backend.
This is the first step towards runtime error handling of unresolvable constructors, library prefixes and constructor names in new-expressions.
Review URL: https://chromiumcodereview.appspot.com//10829379
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11042 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 13:40:07 +00:00 |
|
ahe@google.com
|
2134fa0fc1
|
Clean up state handling in ClassElement.
Review URL: https://chromiumcodereview.appspot.com//10823311
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11040 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 13:23:34 +00:00 |
|
ngeoffray@google.com
|
a13af7eb1f
|
When replacing an instruction with another in GVN-like optimizations, try to find a better user of it, that knows more about the type.
Review URL: https://chromiumcodereview.appspot.com//10831404
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11039 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 13:19:10 +00:00 |
|
antonm@google.com
|
a9b8ec430e
|
Rename elements after sorting.
That makes renaming more stable.
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10834416
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11038 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 13:18:06 +00:00 |
|
lrn@google.com
|
d0145b687f
|
Make patching of classes lazy.
Review URL: https://chromiumcodereview.appspot.com//10855262
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11036 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 12:53:53 +00:00 |
|
smok@google.com
|
d49ad937bb
|
dart2dart Fix factory for interfaces renames
Review URL: https://chromiumcodereview.appspot.com//10828390
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11033 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 11:33:39 +00:00 |
|
ager@google.com
|
000b295a00
|
Make sure that libraries loaded from dart:core gets dart:core implicitly loaded.
This is in preparation for deprecating the corelib Math object
in favor of the dart:math library.
R=ahe@google.com
BUG=
Review URL: https://chromiumcodereview.appspot.com//10836355
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11032 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 11:24:23 +00:00 |
|
kasperl@google.com
|
34ec097692
|
Get rid of the name in HInvokeDynamic (just use the selector instead).
This fixes issue 2620.
R=ngeoffray@google.com,karlklose@google.com
BUG=http://dartbug.com/2620
Review URL: https://chromiumcodereview.appspot.com//10836339
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11030 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 10:56:02 +00:00 |
|
ahe@google.com
|
a6b6565123
|
Parse metadata, but ignore it.
Review URL: https://chromiumcodereview.appspot.com//10836351
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11029 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 10:55:54 +00:00 |
|
karlklose@google.com
|
16a2cbd760
|
Fix some type warnings.
Review URL: https://chromiumcodereview.appspot.com//10824350
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11028 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 10:38:00 +00:00 |
|
antonm@google.com
|
7c21f2cdb8
|
Unify private names treatment.
This change actually revealed a couple of problems we had. I am planning to
switch to even more unified treatment of privates and force renames at
visitIdentifier level.
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10837343
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11027 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 10:26:12 +00:00 |
|
antonm@google.com
|
21702e9066
|
Do not create placeholders for elements that won't be later renamed.
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10827424
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11023 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 09:18:55 +00:00 |
|
antonm@google.com
|
68e7e23cba
|
Introduce renameNodes helper to factor out common pattern.
R=smok@google.com
Review URL: https://chromiumcodereview.appspot.com//10861016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@11022 260f80e4-7a28-3924-810f-c04153c831b5
|
2012-08-21 09:12:53 +00:00 |
|