Commit Graph

645 Commits

Author SHA1 Message Date
ahe@google.com 41f0492cf0 Remove dartc optimizing backend.
Review URL: https://chromiumcodereview.appspot.com//9353015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4025 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-08 10:22:07 +00:00
zundel@google.com 8fdd07b9fd This change makes the normal way of running dartc equivalent to running it with what was the --check-only flag. Shared test status files have been updated to run 'green' for now until we can get a special static analysis testing tool in place.
The code generation backend is still there behind a flag, but due to be removed.

Review URL: https://chromiumcodereview.appspot.com//9346021

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@4008 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 22:00:40 +00:00
floitsch@google.com e590cbf299 Fix split with regexp for frog.
Review URL: https://chromiumcodereview.appspot.com//9352016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3998 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 15:06:42 +00:00
efortuna@google.com 5a44035961 Changing to recommended way to fix console.log in IE by Kasper.
Plus some updates to the test.stats files for IE results.
Review URL: https://chromiumcodereview.appspot.com//9302012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3704 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 00:51:43 +00:00
jimhug@google.com 927d3a6ec5 adds array bounds checking
also adds a --unchecked flag to optionally disable this bounds checking so that we can monitor the performance impact - currently the impact seems to be from zero to about 4x slower depending on the specific benchmark

Review URL: https://chromiumcodereview.appspot.com//9129023

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3555 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-24 15:54:58 +00:00
kasperl@google.com ac0e22f2bc Fix dartc in optimized mode (broken in r3358).
Add checks that ensure that keys used for array access are integers.

Fix bug in the optimization strategy that ended up generating the wrong
code for "native" classes.

R=floitsch@google.com,mmendez@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9250005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3390 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 12:44:47 +00:00
efortuna@google.com 4ecc520173 Make changes for Safari to run with webdriver on the bots.
Review URL: https://chromiumcodereview.appspot.com//9252002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3382 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-18 02:22:10 +00:00
kasperl@google.com 2b7bdf3d2e Add number checks to the numeric operations in dartc.
It makes sense to consider removing the NumberImplementation native operators -- or make them throw an error unconditionally -- because they should never be called unless the right hand side isn't a number.

R=floitsch@google.com,mmendez@google.com
BUG=
TEST=

Review URL: https://chromiumcodereview.appspot.com//9240005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3358 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-17 15:09:46 +00:00
efortuna@google.com 9fa0180cc1 Get Firefox and IE working again with Object.defineProperty!
Review URL: http://codereview.chromium.org//9214005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3312 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 22:28:50 +00:00
regis@google.com 2d1f63af47 Port a couple more stubs to x64.
Fix integer implementation issues.
Enable all tests on x64.
Review URL: http://codereview.chromium.org//9114054

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3307 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-13 20:07:54 +00:00
sigmund@google.com 8139db7ae4 bots: include webdriver tests in bots.
Review URL: http://codereview.chromium.org//9188012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3206 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-11 20:48:33 +00:00
jimhug@google.com 1dd7a8484c continued cleanup of initialization and Value
Less code, more tests passing...  EvaluatedValue and MethodGenerator.evalBody are both in the right direction but will be evolving fairly rapidly to get to a fully cleaned up state.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3077 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-09 03:42:49 +00:00
dominich@google.com 08b8a9cd71 Implementation of List.setRange for frog. Re-enable test.
BUG=934
Review URL: http://codereview.chromium.org//8983019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3043 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 15:55:33 +00:00
ager@google.com 98777d80cb Revert error introduced on purpose.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3029 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 11:00:05 +00:00
ager@google.com af84bcf943 Make the buildbot fail on purpose.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3028 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-06 10:58:38 +00:00
ahe@google.com af4de59113 Detect crashes in frog/leg (when running on VM).
Review URL: http://codereview.chromium.org//9111012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2992 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-05 12:26:20 +00:00
sigmund@google.com 9a5d4c2522 .status: fix test status for frogium
Review URL: http://codereview.chromium.org//8974017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2588 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 18:29:54 +00:00
ahe@google.com 258010fddb Always use --leg_only option.
Review URL: http://codereview.chromium.org//8957008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2567 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-19 10:07:32 +00:00
sigmund@google.com cd10dad521 frogium: fix all status file to reflect frogium current status.
Review URL: http://codereview.chromium.org//8930024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2407 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-14 00:57:56 +00:00
vsm@google.com 9c799be622 Build fix: failing tests now passing
TBR=sigmund

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2279 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 20:42:45 +00:00
sigmund@google.com d7c3287fdd fix set index bug in frog.
BUG= http://code.google.com/p/dart/issues/detail?id=541

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2108 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-06 01:23:05 +00:00
jmesserly@google.com 60d7ab1f64 Fixed lambdas that have the same name as one of their parameters/locals
It even fixed a corelib test :)
http://code.google.com/p/dart/issues/detail?id=388

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2100 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-05 23:06:27 +00:00
sigmund@google.com e024570e01 Adding frogium: a frog-chromium architecture that runs tests in chromium that
were compiled with frog.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1440 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-11 02:07:02 +00:00
sigmund@google.com 28d55d0340 Isolates in frog - tweaks in existing js code to make it run. I plan to do an
actual cleanup on a second CL.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1279 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-08 01:27:19 +00:00
jimhug@google.com e6f1d5c142 All skipped tests should now be "correctly skipped" which means they should not count towards the total tests when computing percentages.
Fixed bugs in validating libraries and in static checking for named parameters as the easiest way to clean up the status of these tests.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1233 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-05 16:04:19 +00:00
ngeoffray@google.com c93b5a40ea Integrate leg as a component in test.py. Also update presubmit script to run tests with leg.
Review URL: http://codereview.chromium.org//8462004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1187 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-04 10:29:48 +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 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
ager@google.com 5b5c36e253 Implement async file API on top of isolates.
This is not going to be efficient but will give us the right
semantics of the operations. We should be using native async
operations for this.

Fixed a bug in VM implementation of List.setRange.

R=sgjesse@google.com
BUG=
TEST=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@1012 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-01 14:07:30 +00:00
ngeoffray@google.com 33ec29bf11 Add a new variable environment for testing, to replace the misusage of 'arch'.
Review URL: http://codereview.chromium.org//8408002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@993 260f80e4-7a28-3924-810f-c04153c831b5
2011-11-01 09:12:55 +00:00
srdjan@google.com 6d8d978d5a FIx issue 261: throw exception if index if idnexed oeprators if lists Array and GrowableArray is not int.
Review URL: http://codereview.chromium.org//8387035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@962 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-31 18:40:32 +00:00
asiva@google.com 477128d98b Update dartc test status.
TBR=zundel
Review URL: http://codereview.chromium.org//8400066

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@907 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-28 18:09:45 +00:00
johnlenz@google.com 0880d2fec3 Fix build now that the test passes.
Review URL: http://codereview.chromium.org//8347001

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@512 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-18 17:13:07 +00:00
ngeoffray@google.com c0665b7f29 Remove print from MathVMTest and update status file to refer to dom 'print' bug.
Review URL: http://codereview.chromium.org//8339018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@509 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-18 15:10:03 +00:00
floitsch@google.com 9ea0d01b92 Fix fix.
TBR=ngeoffray

R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@473 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-17 17:09:22 +00:00
floitsch@google.com a1d6af4e16 Disable DoubleCompareTest in release mode.
TBR=ngeoffray

R=ngeoffray@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@472 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-17 16:42:20 +00:00
floitsch@google.com 0a226d3b67 Implement compareTo on DartC.
BUG=5427706

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@470 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-17 16:07:17 +00:00
ngeoffray@google.com b69b4200c8 Implement removeRange, and update some documentation on the list interface.
Review URL: http://codereview.chromium.org//8273004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@400 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-13 15:54:48 +00:00
ngeoffray@google.com edcae54a2c Implement setRange on DartC and the VM.
Review URL: https://chromereviews.googleplex.com/3574018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@394 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-13 12:58:49 +00:00
ngeoffray@google.com 76ef8258a4 Create a standalone test directory and move tests in runtime/tests/dart (mostly) to that directory.
Review URL: http://codereview.chromium.org//8261009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@393 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-13 12:44:29 +00:00
ngeoffray@google.com d9f0ae9d05 Update status file.
Review URL: https://chromereviews.googleplex.com/3577017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@231 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 16:01:19 +00:00
ngeoffray@google.com 96303f1dab Use import directives instead of --expose_core_impl.
Review URL: https://chromereviews.googleplex.com/3561018

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@227 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 14:56:12 +00:00
floitsch@google.com 6a5e62c07e Add a double.compareTo test.
Review URL: https://chromereviews.googleplex.com/3561015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@221 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 14:16:29 +00:00
ngeoffray@google.com 672b792a6b --expose_core_impl does not work on chromium right now.
Review URL: https://chromereviews.googleplex.com/3567014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@220 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-07 14:08:21 +00:00
dgrove@google.com ebe439410d Initial checkin.
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22 260f80e4-7a28-3924-810f-c04153c831b5
2011-10-05 06:22:36 +00:00