Commit Graph

6419 Commits

Author SHA1 Message Date
scheglov@google.com 4e59cd2f73 Report ILLEGAL_CHARACTER for nbsp.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24552 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 21:28:39 +00:00
scheglov@google.com 5ab28b9833 Report CHARACTER_EXPECTED_AFTER_SLASH
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24551 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 21:26:09 +00:00
zra@google.com 573b9d859a Fixes a bug in the mips Random_nextState intrinsic.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24549 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 20:46:28 +00:00
regis@google.com 3711825476 Fix Random_nextState intrinsic on ARM.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24548 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 20:16:53 +00:00
scheglov@google.com 594c29a13f Report PRIVATE_OPTIONAL_PARAMETER in more cases.
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24544 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 19:49:15 +00:00
iposva@google.com ca6b378934 - Update status file for dart2js. Tests have been updated to not
use ? operator and thus now "Pass" instead of "Fail,OK".

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24542 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 19:22:21 +00:00
zra@google.com 55d97a6d56 Adds missing case in mips double comparison.
Also, adds mips and simmips to runtime benchmark script,
and fixes up a status file.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24541 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 19:03:04 +00:00
iposva@google.com f48d70cec2 - Update analyzer status file: ? operator needs to be removed.
Review URL: https://codereview.chromium.org//18050010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24540 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 18:52:55 +00:00
iposva@google.com 50fc824be9 - Remove arguments definition test from the VM.
- Update tests still referring to it.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24539 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 18:37:53 +00:00
scheglov@google.com 06abe7be3b Report FUNCTION_TYPED_PARAMETER_VAR
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24538 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 18:35:26 +00:00
zra@google.com 43826a3279 Fixes timing-out test for simarm, simmips
R=regis@google.com, srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24536 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:32:16 +00:00
ricow@google.com 31d1d5b487 Also remove suppression for test_runner test for the normal analyzer, not just the new dart based one.
Review URL: https://codereview.chromium.org//18083005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24535 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:28:27 +00:00
ricow@google.com 9573607dd9 Don't suppress test_runner_test on dart2js any more, we pass after we updated the checked in binary.
R=kustermann@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24534 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:19:06 +00:00
regis@google.com 7370d2a2f6 Minor status file update for ARM.
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24533 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:12:49 +00:00
zarah@google.com 74cca39566 Add fromIterable(s) constructors in SplayTreeMap and LinkedHashMap.
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24531 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:02:37 +00:00
scheglov@google.com 9c484f1d3e Triage the rest of the co19.
Some of tests are invalid, some requires fixes in analyzer.

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

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24530 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 17:01:34 +00:00
scheglov@google.com e5b3f9f855 Report errors for invalid annotations.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24529 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 16:58:04 +00:00
ajohnsen@google.com d506a6e490 Stop printing when stdout is closed.
This makes sure we don't print(...) data to a file opened after stdout
was closed.

BUG=https://code.google.com/p/dart/issues/detail?id=9615
R=kustermann@google.com, whesse@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24525 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 16:44:39 +00:00
zra@google.com 60392c70fd Implements external array access for mips.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24524 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 16:42:39 +00:00
ajohnsen@google.com f6b8d89968 Add FileException.path and clean up file exceptions.
Now correctly throw ArgumentError and not delayed FileExceptions in case
of invalid arguments.

BUG=https://code.google.com/p/dart/issues/detail?id=3075

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24523 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 16:42:32 +00:00
kasperl@google.com 56d2e0ed07 Fix Element.findMyName for named constructors.
R=ahe@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24516 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 13:48:53 +00:00
fschneider@google.com fd3f443181 Fix a bug in allocation sinking and load elimination.
1. Aliasing information was not computed for allocations that
are never used in a LoadField instruction.

2. CanBeAliased was not correct in the case of a StoreVMField.

BUG=https://code.google.com/p/dart/issues/detail?id=11538
TEST=runtime/vm/flow_graph_optimizer.cc
R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24515 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 13:26:23 +00:00
zarah@google.com 13d024e0dc Add Map constructors taking iterables.
BUG= http://dartbug.com/11330
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24514 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 13:17:16 +00:00
jmesserly@google.com f08c9d860a remove warning that is no longer in dart:html
TBR to fix dart2js bot.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24503 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-27 00:45:10 +00:00
jmesserly@google.com d6b9207588 Reorganize mdv and observe functionality
* keep correct dart:html APIs
* move implementation into package:mdv and package:observe
* remove dart:mdv_observe_impl
* remove getValueWorkaround/setValueWorkaround from package:observe

R=blois@google.com, floitsch@google.com, justinfagnani@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24498 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 23:25:47 +00:00
scheglov@google.com 18bc4ea6c3 Use InheritanceManager to lookup 'iterator' getter.
R=brianwilkerson@google.com, jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24495 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 22:45:31 +00:00
scheglov@google.com f79bad9753 Triage some co19 tests.
This time the ones which were skipped.
As I see on one of them Brian is working (as discussed in mail) and for other two I've opened the issue.

R=jwren@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24494 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 22:39:23 +00:00
regis@google.com 169bc2f989 Fix code for store buffer update on ARM and MIPS (link register was trashed).
R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24493 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 22:14:42 +00:00
zra@google.com 646e8fe9f6 Fixes status file.
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24492 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 21:37:32 +00:00
zra@google.com 6b33d60322 Fixes co19 status file.
Forgot about windows...

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24490 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 21:25:18 +00:00
zra@google.com bc703b348f Updates co19 status file for simarm and simmips.
Also marks corelib/collection_to_string_test as
Pass, Crash for arm hardware, as it crashes
occasionally.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24489 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 20:54:17 +00:00
regis@google.com 5ffa56b798 Fix and simplify invocation of noSuchMethod on all platforms after the wrong
number (or bad name) of arguments is passed.
The frame of the wrong method (the one invoked with the wrong number or name of
arguments) is not left on the stack and therefore not visible in the stack trace
anymore, which is much cleaner, especially since the leftover frame was not
fully initialized.
This change was already done on ARM.

R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24485 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 19:58:49 +00:00
zra@google.com ce82a777e5 Fixes integer negate intrinsic for arm and mips.
R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24481 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 17:43:48 +00:00
blois@google.com edf30f6b20 Exposing Node.firstChild and Node.lastChild.
These are the most efficient way access children and are very commonly used.

BUG=
R=jmesserly@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24476 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 16:53:50 +00:00
regis@google.com 70043d1f94 Fix and simplify invocation of noSuchMethod on ARM after the wrong number of
arguments is passed.
The frame of the wrong method (the one invoked with the wrong number of
arguments) is not left on the stack and therefore not visible in the stack trace
anymore, which is much cleaner, especially since the leftover frame was not
fully initialized.
Note: We should simplify this on other platforms as well.

R=zra@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24475 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 16:31:53 +00:00
zra@google.com 364c5406b8 Fixes floating point bug in ARM simulator.
Adjusts status files to match.

R=regis@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24473 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 15:48:22 +00:00
floitsch@google.com 60e5ca3727 Add runAsync interceptor.
BUG= http://dartbug.com/11279
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24470 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 14:41:03 +00:00
sgjesse@google.com 78e9b8ef87 dart:io | Add rename to Link
R=whesse@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24468 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 14:09:29 +00:00
ahe@google.com 6414d819f4 Implement hashCode on objects stored in a set or used as map keys.
R=johnniwinther@google.com, ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24464 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 11:49:43 +00:00
ahe@google.com 4976228c46 Warn about overriding operator== but not hashCode.
R=kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24463 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 11:20:04 +00:00
zarah@google.com 3709d9388f Test fixed
Review URL: https://codereview.chromium.org//17841002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24462 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 10:57:30 +00:00
zarah@google.com 30727e7a9e Fixed equals operator in test.
Review URL: https://codereview.chromium.org//17843002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24461 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 09:41:56 +00:00
fschneider@google.com 7e71783df6 Support type arguments for allocation sinking in certain conditions.
The type arguments are treated like a normal field that is initialized
with the type arguments passed to the allocation stub. This CL restricts
the optimization to the case where no instantiator is passed
(instantiator == kNoInstantiator). In this case the type arguments are
either a constant or loaded from a field.

Also: improve variable liveness analysis by pruning partially dead
variables from the environment. At the beginning of each block, all 
variables that are _not_ in live-in are replaced with null.

R=vegorov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24459 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 09:20:46 +00:00
zarah@google.com 50868bbdda Test equality argument order in iterable.
R=lrn@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24458 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 09:14:24 +00:00
fschneider@google.com b76b3bbbf4 Correctly deal with method invocation of a getter.
If getter lookup succeeds, but getter invocation throws
an exception, the result is the thrown exception and
not as previously noSuchMethod invocation.

BUG=https://code.google.com/p/dart/issues/detail?id=11512
TEST=tests/language/method_invocation_test.dart
R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24457 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 08:44:00 +00:00
kasperl@google.com 1e6c3a1998 Remove support for 'argument definitions test' from dart2js.
R=ngeoffray@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24455 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 08:02:25 +00:00
ahe@google.com 2d285cac9a Generate less code when importing dart:mirrors.
BUG=http://dartbug.com/11340
BUG=http://dartbug.com/11218
R=johnniwinther@google.com, kasperl@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24453 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 07:09:55 +00:00
scheglov@google.com 92dd5f0e42 Triage pkg and standalone tests.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24446 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 03:02:18 +00:00
scheglov@google.com 6a3acdfd5b Triage some co19 tests.
R=brianwilkerson@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24445 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-26 02:33:57 +00:00
iposva@google.com 11632110c6 - Revert r24441 until issues found have been addressed.
Review URL: https://codereview.chromium.org//17769004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@24443 260f80e4-7a28-3924-810f-c04153c831b5
2013-06-25 23:38:45 +00:00