iposva@google.com
59bd51bbc7
- Add test for private dart:_ libraries.
...
Review URL: https://codereview.chromium.org//12221028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18160 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-06 00:49:54 +00:00
ngeoffray@google.com
3784b7e136
Fix braino in SSA optimizer and add a test for it.
...
Review URL: https://codereview.chromium.org//12220013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18139 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 14:54:57 +00:00
ngeoffray@google.com
db98396375
Allow private selectors to be typed, and fix ClassElement.isSubclassOf to take patches into account.
...
Review URL: https://codereview.chromium.org//12223004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18126 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 11:18:11 +00:00
karlklose@google.com
12840df1fe
Revert "Implement substitution for type variables."
...
This reverts commit r18124.
Review URL: https://codereview.chromium.org//12211012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18125 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 10:40:47 +00:00
karlklose@google.com
074335268f
Implement substitution for type variables.
...
This change does not yet address the case where there is more than one substitution, as in this example:
class S<X> {}
class S1 extends S<int> {}
class S2 extends S<double> {}
class T implements S1, S2 {}
main() {
new T() is S<int>;
new T() is S<double>;
}
Review URL: https://codereview.chromium.org//12018015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18124 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-05 10:23:13 +00:00
srdjan@google.com
eaa1c974a3
Use SAR for divident by a power-of two constant divisor.
...
Review URL: https://codereview.chromium.org//12091100
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@18075 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-04 20:29:58 +00:00
ngeoffray@google.com
1fe57ce799
Fix the arity of a call to a constructor body, now that we pass not just the parameters.
...
Review URL: https://codereview.chromium.org//12090118
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17983 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 14:47:12 +00:00
ngeoffray@google.com
c6c01a213f
Fix a crash in dart2js where references to this in inlined initializers id not know what instruction to use.
...
Review URL: https://codereview.chromium.org//12079116
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17982 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-01 14:11:46 +00:00
johnniwinther@google.com
b83a499aa6
Revert "Take type arguments into account in interface type subtype check."
...
This reverts commit r17912.
BUG=
Review URL: https://codereview.chromium.org//12079098
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17915 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:58:23 +00:00
johnniwinther@google.com
8171115947
Take type arguments into account in interface type subtype check.
...
BUG=http://dartbug.com/7342
Review URL: https://codereview.chromium.org//12079094
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17912 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 14:40:41 +00:00
ngeoffray@google.com
a28be0430e
Fix another bailout problem where not all blocks were visiting when propagating bailout information to blocks, and fix a braino where we were not getting the right block for the loop header of a do/while loop.
...
Review URL: https://codereview.chromium.org//12082074
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17887 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-31 08:26:11 +00:00
johnniwinther@google.com
9e6659ab52
Implement Types.isSubtype for FunctionType with optional and named parameters.
...
Review URL: https://codereview.chromium.org//12087052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17832 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 10:46:10 +00:00
ngeoffray@google.com
dddf91378a
Don't use a map literal if we insert non-string keys, otherwise it fails in checked mode.
...
Review URL: https://codereview.chromium.org//12087083
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17830 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 10:27:59 +00:00
ngeoffray@google.com
c393fd0f4d
Fix crash in compiler when we are generating a bailout method where a loop contains continue/break/return.
...
Review URL: https://codereview.chromium.org//12082054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17828 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-30 10:12:05 +00:00
srdjan@google.com
3d1a139c4d
Fix double modulo bug by temporary disabling calling to C (fix and reenabling it will follow later). Added test.
...
Review URL: https://codereview.chromium.org//12077052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17806 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 20:36:59 +00:00
fschneider@google.com
dfda7854a8
Fix source position for stack traces with optimized top function.
...
Fix decoding of the deoptimization info when constructing a stack trace.
Fix stack trace for checked mode exceptions from optimized code.
BUG=dart:8058
TEST=runtime/tests/vm/dart/optimized_stacktrace_test.dart,
tests/language/stack_overflow_stacktrace_test.dart
Review URL: https://codereview.chromium.org//12049039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17755 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 12:38:27 +00:00
erikcorry@google.com
858aa5ac78
dart2js: Don't emit static const fields since they are inlined where they are used
...
R=ngeoffray@google.com
BUG=
Review URL: https://codereview.chromium.org//12095034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17753 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-29 11:21:29 +00:00
johnniwinther@google.com
bdf4f3b86d
language_dart2js.status updated
...
Review URL: https://codereview.chromium.org//12095013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17709 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-28 13:26:25 +00:00
scheglov@google.com
5b8f5acf9b
Issue 6560. Reassign issue to tests to close issue.
...
http://code.google.com/p/dart/issues/detail?id=6560
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//12082005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17688 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-27 00:28:35 +00:00
scheglov@google.com
368d8d1b5c
Issue 8027. Disallow cyclic mixins.
...
http://code.google.com/p/dart/issues/detail?id=8027
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//12052084
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17664 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 22:47:10 +00:00
ahe@google.com
8d698fdf19
Improve performance of dart2js StringBuffer.
...
Review URL: https://codereview.chromium.org//11565034
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17639 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 15:32:10 +00:00
kasperl@google.com
cdba6a35c8
Add more tests and fix the parser to deal with generic superclasses for mixin applications.
...
R=ahe@google.com ,karlklose@google.com
BUG=
Review URL: https://codereview.chromium.org//12036101
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17635 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 10:15:09 +00:00
kasperl@google.com
b8dc627d54
Add (failing) test case for mixin type parameters.
...
R=karlklose@google.com
BUG=
Review URL: https://codereview.chromium.org//12038087
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17630 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-25 08:45:34 +00:00
iposva@google.com
7e0cb951e8
Fix issue 8094:
...
- Do not assert that dart-scheme URIs point to libraries exclusively.
Review URL: https://codereview.chromium.org//12036089
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17604 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 21:56:10 +00:00
regis@google.com
517f653176
Fix argument test for the captured parameter of an outer function (issue 8007).
...
Review URL: https://codereview.chromium.org//12036088
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17592 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 19:14:55 +00:00
johnniwinther@google.com
d3eb38dc9e
language.status updated.
...
Review URL: https://codereview.chromium.org//12047081
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17573 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 14:32:50 +00:00
johnniwinther@google.com
229036fa8b
Internal libraries supported.
...
Review URL: https://codereview.chromium.org//11967010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17556 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 13:01:56 +00:00
floitsch@google.com
fb7b9e3c5c
Rename Date to DateTime.
...
BUG=http://dartbug.com/1424
Review URL: https://codereview.chromium.org//11770004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17549 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 12:16:37 +00:00
ngeoffray@google.com
5139dcb231
Cleanup the namer, and add a test with fields that used to clash with internal names used by the compiler.
...
Review URL: https://codereview.chromium.org//12049036
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17535 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 10:59:17 +00:00
kasperl@google.com
d67f2d705b
Support 'implements' clause on typedef mixin applications.
...
R=johnniwinther@google.com
BUG=
Review URL: https://codereview.chromium.org//11953048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17528 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 08:46:21 +00:00
kasperl@google.com
d33321740a
Disallow mixing in classes that use 'super'.
...
R=johnniwinther@google.com
BUG=
Review URL: https://codereview.chromium.org//12033049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17527 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 08:29:24 +00:00
iposva@google.com
57f62dd2e1
- Make sure we can "run" all tests using simarm/simmips.
...
Review URL: https://codereview.chromium.org//12042065
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17516 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-24 00:42:04 +00:00
scheglov@google.com
761ea9993f
Issue 8025. Disallow mixing in classes that have constructors.
...
http://code.google.com/p/dart/issues/detail?id=8025
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//12048003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17473 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-23 17:26:46 +00:00
scheglov@google.com
76771f343e
Issue 8006. Allow abstract modifier for typedef mixin applications.
...
http://code.google.com/p/dart/issues/detail?id=8006
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//12039027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17429 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:39:32 +00:00
scheglov@google.com
23bf0056b3
Issue 8022. Report compile-time error when using mixing with not Object superclass.
...
http://code.google.com/p/dart/issues/detail?id=8022
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org//12038035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17428 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 22:28:42 +00:00
kasperl@google.com
630b1956de
Disallow cyclic mixins.
...
R=johnniwinther@google.com
BUG=
Review URL: https://codereview.chromium.org//12041018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17399 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 14:16:36 +00:00
ngeoffray@google.com
b5dc7a3e30
Fix braino with return types, and make sure the compiler knows we might call noSuchMethod with a JSInvocationMirror.
...
Review URL: https://codereview.chromium.org//12045019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17397 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 13:42:37 +00:00
vegorov@google.com
932a05420a
Reland r17365.
...
Introduce InvokeMathCFunction that can be used to directly invoke mathematical
function provided by runtime.
Use it to unconditionally inline _Double.pow.
Use it to inline floor, ceil, round, truncate, round when SSE4.1 is not
available.
Perform representation selection phase after constant propagation to minimize
boxing.
Add support for enter instruction in the x64 disassembler.
Add test for optimized pow and fix compilation on windows.
R=fschneider@google.com
BUG=dart:8002
Review URL: https://codereview.chromium.org//12038013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17393 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 12:18:31 +00:00
kasperl@google.com
c18ce308f8
Disallow mixing in classes that have constructors.
...
R=johnniwinther@google.com
BUG=
Review URL: https://codereview.chromium.org//12038018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17389 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 11:52:04 +00:00
kasperl@google.com
91a77ec04a
Disallow access to static members of mixed in classes.
...
R=johnniwinther@google.com
BUG=
Review URL: https://codereview.chromium.org//12051009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17384 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 10:30:18 +00:00
kmillikin@google.com
265ff9453d
Allow cascades in initializer lists.
...
BUG=
Review URL: https://codereview.chromium.org//12036005
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17383 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 10:08:57 +00:00
kasperl@google.com
c633722d48
Disallow mixing in classes where the superclass != Object.
...
R=johnniwinther@google.com
BUG=
Review URL: https://codereview.chromium.org//12045015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17375 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-22 09:00:23 +00:00
kustermann@google.com
3ed3bfe040
Status updates for Safari
...
Review URL: https://codereview.chromium.org//12049004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17363 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 16:23:56 +00:00
kasperl@google.com
bea2194da7
Update status file for the analyzer.
...
TBR'ed.
R=scheglov@google.com
BUG=
Review URL: https://codereview.chromium.org//12045006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17349 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 12:56:12 +00:00
kasperl@google.com
a0720ebb60
Add more mixin tests and start rejecting illegal syntax.
...
R=johnniwinther@google.com
BUG=
Review URL: https://codereview.chromium.org//11953012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17342 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 11:37:52 +00:00
ngeoffray@google.com
40f0338539
Fix bad type annotation.
...
Review URL: https://codereview.chromium.org//12038006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17339 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 11:04:39 +00:00
ngeoffray@google.com
2dcfca1e3e
Fix bug https://code.google.com/p/dart/issues/detail?id=7994 : the range analysis gives a fixed ranged to a fixed length list (e.g. [1024, 1024]), so when narrowing the range of an instruction that is used as an index, we should not use the range of the length, but use [0, lengthRange.upper - 1].
...
Review URL: https://codereview.chromium.org//12033008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17338 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-21 10:44:33 +00:00
antonm@google.com
300b223a64
Add a library tag to allow running on DRT.
...
R=ngeoffray@google.com
Review URL: https://codereview.chromium.org//11859031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17280 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 14:30:43 +00:00
vegorov@google.com
f6f7f1579e
Optimize double.floor and double.ceil down to roundsd when SSE4.1 is available.
...
R=fschneider@google.com
BUG=dart:7971
Review URL: https://codereview.chromium.org//11929021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17278 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 14:28:25 +00:00
kasperl@google.com
3f57b647a5
Start allowing mixin application extensions.
...
This CL builds upon the code in https://codereview.chromium.org/11886097/
which needs to land before this one.
R=ahe@google.com
BUG=
Review URL: https://codereview.chromium.org//12018014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@17270 260f80e4-7a28-3924-810f-c04153c831b5
2013-01-18 13:16:48 +00:00