Commit Graph

79322 Commits

Author SHA1 Message Date
zundel@google.com 26e6abb293 In stub-generator tests, look for dartc with the arch the test is configured for
Review URL: http://codereview.chromium.org//8437103

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1170 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 21:51:41 +00:00
iposva@google.com 97634fb30e - Add the implementation of the Options interface to the runtime.
Review URL: http://codereview.chromium.org//8437075

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1169 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 21:45:03 +00:00
iposva@google.com f5a8aff441 - Add an Options interface to the core library. The core library
implementation and the execution environment provide the implementation
  and the values.
Review URL: http://codereview.chromium.org//8440057

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1168 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 21:45:02 +00:00
srdjan@google.com d052449ae8 Fix issue 5564152 (VM crash): stack at exit of method was incorrect. Smi equality with Mint was calling operator ==, the result was pushed instead of evaluated to either push a boolean object or to jump to a label.
Review URL: http://codereview.chromium.org//8451010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1167 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 21:45:00 +00:00
jmesserly@google.com b4cd0751a1 Reduces code generated by dynamic calls.
Also cleans type asserts
TBR=jimhug

Review URL: http://codereview.chromium.org//8334035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1163 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 21:16:50 +00:00
hausner@google.com a6b3f4f19c No returns allowed in constructors
Add compiler error message when a constructor explicitly returns a
value. Fixes bug/issue 224.
Review URL: http://codereview.chromium.org//8450009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1161 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 20:07:35 +00:00
knorton@google.com 92d3c9f0ea Fling: Fix bit rot.
Review URL: http://codereview.chromium.org/8447006/

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1160 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 19:04:31 +00:00
srdjan@google.com cb82be7b44 Restructure instance setter and finish the last 1/3 of increment instance field optimization.
Review URL: http://codereview.chromium.org//8439059

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1159 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 18:37:44 +00:00
scheglov@google.com 220ac6b940 Tweak shouldWarnOnNoSuchType() usage.
R=zundel@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8451002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1158 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 18:13:07 +00:00
srdjan@google.com 49caedb014 Fix issue: 5427703 (compareTo), fix parsing of -0.0.
Review URL: http://codereview.chromium.org//8430037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1156 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 18:03:39 +00:00
ngeoffray@google.com 3dedc560f5 - Update tests to make sure they recerefence invalid code.
- Improve multi test case configuration by adding a 'continued' tag.
Review URL: http://codereview.chromium.org//8437091

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1153 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 16:58:54 +00:00
floitsch@google.com c6aaab878a Update status file.
Fixes build.

TBR=ahe
R=ahe@google.com

Review URL: http://codereview.chromium.org//8451004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1152 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 16:57:55 +00:00
sigmund@google.com 9017518625 Don't ignore /frog/ in .gitignore anymore
Review URL: http://codereview.chromium.org//8334026

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1150 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 15:39:13 +00:00
zundel@google.com f02bfc4a27 Combine and sort the co19-compiler.status file
Also removed some outdated comments.

Review URL: http://codereview.chromium.org//8439072

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1147 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 14:30:39 +00:00
floitsch@google.com a769f45ebb Simulate VM behavior wrt open receive ports.
VM times out. DartC now exits with exception.

Review URL: http://codereview.chromium.org//8440065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1146 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 13:29:07 +00:00
zundel@google.com 2e6e49f78a Integrate frog tests into presubmit.sh
Review URL: http://codereview.chromium.org//8437064

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1145 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 13:20:21 +00:00
ngeoffray@google.com b09a8dc00b Remove support for building frog at the top-level: it requires node.
Review URL: http://codereview.chromium.org//8386077

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1143 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 13:01:59 +00:00
ngeoffray@google.com 835f9caeee Gyp change to build frog at the top level.
Review URL: http://codereview.chromium.org//8437082

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1142 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 12:55:19 +00:00
ngeoffray@google.com 5d6af6602a Bleeding edge change to get frog integrated into the testing infrastructure.
Review URL: http://codereview.chromium.org//8372095

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1140 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 12:15:55 +00:00
benl@google.com 57a533314e Review URL: http://codereview.chromium.org//8403040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1139 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 10:14:19 +00:00
ngeoffray@google.com a76068abeb Remove unused constructor.
Review URL: http://codereview.chromium.org//8440062

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1138 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 10:09:06 +00:00
ager@google.com 8e714d4a4c Fix type mismatch in File.fullPathSync.
R=sgjesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8351094

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1137 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 10:06:55 +00:00
ager@google.com 026a56f666 Implement fullPath method on File objects.
R=sgjesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8439067

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1134 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 08:28:16 +00:00
hausner@google.com f401476d02 Fix problem with named arguments in constructors
When generating the implicit super call to the body, the argument
names have to be duplicated from the implicit initializer call.
Review URL: http://codereview.chromium.org//8386065

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1130 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-03 00:36:27 +00:00
sigmund@google.com 48e1091e98 Small fix to buildbot_annotated_steps.py to find correctly the latest version of
dartium.

Review URL: http://codereview.chromium.org//8372083

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1122 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 20:57:26 +00:00
srdjan@google.com 67cee5e5d2 Intrinsify String.charCodeAt, String.length and String.hashCode. Improves frog performance by 2x.
Review URL: http://codereview.chromium.org//8440051

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1120 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 20:42:23 +00:00
codefu@google.com 9f68a5c004 Naming scheme for negative tests
R=iposva
BUG=
TEST=

Review URL: http://codereview.chromium.org//8444001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1104 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 17:36:28 +00:00
hausner@google.com 7651034e9e Two-phase constructors
This CL fixes the initializer evaluation order and brings the VM fully up to spec.

Constructors are executed in two phases: the initializer phase and the constructor body phase. An additional implicit parameter tells the constructor code whether to execute the initializer list or the body (or both).

If the super initializer call is not at the end of the initializer list, the super constructor has to be called twice. The arguments to the super initializer have to be evaluated and stored in temporary local variables. At the beginning of the constructor block, a second implicit super call is inserted.

If the super initializer call happens to be at the end of the list, none of this madness has to happen, except for the extra implicit parameter to the constructor.

 
Review URL: http://codereview.chromium.org//8440014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1102 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 17:19:15 +00:00
mattsh@google.com 512a603600 use more distinctive pattern to mark where dart source goes
BUG=
TEST=

Review URL: http://codereview.chromium.org//8363018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1100 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 16:58:25 +00:00
codefu@google.com 01d80fb5c4 Add negative test for invalid prefixes.
Update dartc's parser to validate identifier in string literal.
Add new error code.
http://code.google.com/p/dart/issues/detail?id=266

R=mmendez
BUG=
TEST=

Review URL: http://codereview.chromium.org//8441001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1099 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 16:54:27 +00:00
srdjan@google.com aa4ec58426 Optimize 2/3 of instance field increment operation.
Review URL: http://codereview.chromium.org//8439023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1097 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 16:20:58 +00:00
srdjan@google.com 08f52c4eed Deoptimization tests for instance field increment optimization.
Review URL: http://codereview.chromium.org//8440023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1096 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 16:14:01 +00:00
ager@google.com f74ecd22fd Implemented File create API.
R=sgjesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8437056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1095 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 15:57:54 +00:00
scheglov@google.com a30bf8af1f Mark WrongNumberTypeArgumentsTest as failing on VM
R=zundel@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8439042

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1093 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 15:20:11 +00:00
ngeoffray@google.com 33c83c7c03 Cleanup buildbot_annotated_steps.py to run and test at the top level.
Review URL: http://codereview.chromium.org//8341112

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1091 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 14:21:23 +00:00
scheglov@google.com a2dfac76d7 Make some ErrorCode-s compile-time errors and some just type warnings
R=zundel@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8384012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1089 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 13:55:53 +00:00
ager@google.com 3c821dbcdd Refactor async file implementation.
Use FileOperation classes instead of maps.

R=sgjesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8440037

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1088 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 13:53:10 +00:00
ager@google.com ba34b6eb98 Fix process test and implementation after change to setter for registering event handler.
R=sgjesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8440035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1084 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 12:50:59 +00:00
ager@google.com 362d04f9af Consistently use setters to set event handlers in native APIs.
R=sgjesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8386029

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1083 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 12:12:43 +00:00
whesse@google.com 9eda6e634b Disable standalone/StatusFileParserTest on dartium, improve handling of missing files.
BUG=
TEST=standalone/StatusFileParserTest

Review URL: http://codereview.chromium.org//8440033

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1082 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 12:12:09 +00:00
whesse@google.com ddf5026893 Dart rewrite of test scripts: do not fail test on missing status file.
BUG=
TEST=standalone/StatusFileParserTest

Review URL: http://codereview.chromium.org//8437048

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1077 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 10:35:02 +00:00
whesse@google.com f9a5add2da Add status_file_parser.dart library, and tests for it, to the Dart rewrite of the test suite runner.
BUG=
TEST=standalone/StatusFileParserTest

Review URL: http://codereview.chromium.org//8335008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1076 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 10:17:35 +00:00
ager@google.com 0a275e0644 Fix file test.
Always use the input file to determine the full path to use
for the file tests. The output file does not exist before
the tests are run.

R=sgjesse@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8372056

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1074 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 08:05:05 +00:00
ager@google.com d95f5721e4 Completely skip FileTest while I investigate. It seems to be failing on fresh checkouts.
R=bak@google.com
BUG=
TEST=

Review URL: http://codereview.chromium.org//8438031

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1073 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 07:24:54 +00:00
jmesserly@google.com 5ba435031c Add tests for block scope. This goes with:
http://codereview.chromium.org/8437043/

Review URL: http://codereview.chromium.org//8439034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1069 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 03:35:38 +00:00
sra@google.com 22b0df3723 Test for constructor order and bindings.
BUG=
TEST=

Review URL: http://codereview.chromium.org//8440015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1067 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 03:25:37 +00:00
regis@google.com 23552a0e14 Perform type canonicalization as part of type finalization.
Remove signature type cache from signature classes, since type canonicalization
has the same effect.
Review URL: http://codereview.chromium.org//8437028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1064 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 01:40:34 +00:00
asiva@google.com 133894629b Fix return statement to return the right result.
Review URL: http://codereview.chromium.org//8439028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1062 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 01:22:40 +00:00
cshapiro@google.com 6d99ab1ec2 Fail if an imported file cannot be read.
Review URL: http://codereview.chromium.org//8439025

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1060 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 00:54:02 +00:00
asiva@google.com 5db460f310 Add command line options to specify the various heap size parameters.
Review URL: http://codereview.chromium.org//8423023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1059 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-02 00:48:33 +00:00