kasperl@google.com
ac269abbe3
Add test cases for issue 1569.
...
R=ahe@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9350016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3990 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 12:35:43 +00:00
ahe@google.com
e4773b842f
Detect VM crashes and update status file.
...
Review URL: https://chromiumcodereview.appspot.com//9352015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3987 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 11:48:38 +00:00
srdjan@google.com
9590898e08
Frogsh failures are frogiums failures as well.
...
Review URL: https://chromiumcodereview.appspot.com//9346006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3976 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-07 01:48:37 +00:00
srdjan@google.com
4b3a6e1e57
Fixed a bug in isNegate intrinsified code, fixed negation for doubles (handling of negative zeros). Added tests. Fix issue 1554.
...
Factored out parts of X86Decoder::InstructionDecode in order to satisfy lint (500 lines max per function).
Review URL: https://chromiumcodereview.appspot.com//9338002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3971 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 22:16:44 +00:00
ahe@google.com
bb39ff705f
Increase timeout limit in frog-debug
...
Review URL: https://chromiumcodereview.appspot.com//9328043
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3950 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 16:12:55 +00:00
ahe@google.com
cefacc0a90
Skip tests in debug mode that times out
...
Review URL: https://chromiumcodereview.appspot.com//9323080
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3946 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 15:35:02 +00:00
ngeoffray@google.com
1b8cf53985
Fix for issue 1480: analyze a method even if it does not have a body, and do not try to evaluate a call if it does not have the right number of arguments.
...
Review URL: https://chromiumcodereview.appspot.com//9325029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3937 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 11:57:42 +00:00
ahe@google.com
48b1eff052
Debug means debug build, --checked is a seperate step
...
Review URL: https://chromiumcodereview.appspot.com//9310113
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3935 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-06 11:38:04 +00:00
efortuna@google.com
2586551813
Fix GCTest in language status file.
...
Review URL: https://chromiumcodereview.appspot.com//9325046
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3925 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 23:38:58 +00:00
asiva@google.com
ce3621d92f
Revert tests to their original form, these were missed out in an earlier CL.
...
Review URL: https://chromiumcodereview.appspot.com//9317092
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3924 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 23:07:51 +00:00
srdjan@google.com
be66ab9a1c
Fix for issue 1307: throw runtime exception instead of reporting a compile time error if a static call cannot be resolved.
...
Review URL: https://chromiumcodereview.appspot.com//9316100
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3922 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 22:25:16 +00:00
ahe@google.com
922a869e63
Implement script tags.
...
Review URL: https://chromiumcodereview.appspot.com//9309061
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3909 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 17:09:16 +00:00
ngeoffray@google.com
b262d3b35f
Support noSuchMethod for methods that take named parameters.
...
Review URL: https://chromiumcodereview.appspot.com//9325023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3901 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 13:58:17 +00:00
lrn@google.com
dcb371fe47
Parse unary plus corretly (i.e., by ignoring it when it's valid).
...
Review URL: https://chromiumcodereview.appspot.com//9320064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3898 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 13:33:40 +00:00
ngeoffray@google.com
40e28bfcd2
Generate a resolution error if a unary + is used for something other than numbers.
...
Review URL: https://chromiumcodereview.appspot.com//9310066
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3885 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-03 08:55:04 +00:00
efortuna@google.com
80908ff5cf
Update language.status.
...
Review URL: https://chromiumcodereview.appspot.com//9309065
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3881 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 23:29:06 +00:00
srdjan@google.com
0a61ec9e8d
Fix frogium build by disabling test for frog, frogsh AND frogium.
...
Review URL: https://chromiumcodereview.appspot.com//9325007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3874 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 21:04:14 +00:00
srdjan@google.com
995c4689cf
Add test for OutOfMemory in VM
...
Review URL: https://chromiumcodereview.appspot.com//9323012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3871 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 20:50:22 +00:00
srdjan@google.com
5d53270821
Intrinisifed more core library methods: isNaN, isNegative, cos, sin.
...
TODO: inline those methods in otpimized code.
Review URL: https://chromiumcodereview.appspot.com//9320023
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3869 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 19:44:55 +00:00
scheglov@google.com
d861694b20
Issue 561. Fix for methods named get/set/operator.
...
http://code.google.com/p/dart/issues/detail?id=561
R=zundel@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9301007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3866 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 19:18:22 +00:00
srdjan@google.com
e0e269e20a
Fix failing builds: leg does not know about closures yet, debug VM builds take too long.
...
Review URL: https://chromiumcodereview.appspot.com//9309060
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3862 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 18:54:31 +00:00
srdjan@google.com
92d6a081d0
Fix for issue r1469: DartVM appears to not GC closure reachable memory properly
...
(The issue was diagnosed and solved by Siva)
The problem appears when allocating large arrays that are stored in a context.
We allocate large arrays directly in the old space. The context in which these arrays are stored is in the new space. When we do an old gen GC we were not first scavenging the new space. As a result the large arrays still remained when we did the old-gen GC, resulting in OOM.
The fix is to do both a new gen scavenge and an old gen mark-sweep when we run out of space in the old gen.
Review URL: https://chromiumcodereview.appspot.com//9317054
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3856 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-02 18:22:25 +00:00
efortuna@google.com
1e734076dc
Get Firefox on Windows running.
...
Review URL: https://chromiumcodereview.appspot.com//9314047
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3811 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 21:24:52 +00:00
zundel@google.com
6af6186796
Sort and format the language.status dartc section
...
I also annotated a couple of the lines with public issue numbers.
Review URL: https://chromiumcodereview.appspot.com//9314035
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3794 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 16:05:45 +00:00
ngeoffray@google.com
8acbf5ab35
Support getters and setters.
...
Review URL: https://chromiumcodereview.appspot.com//9245002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3792 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 15:59:15 +00:00
ngeoffray@google.com
d5d29f2e03
Support default values for optional parameters.
...
Review URL: https://chromiumcodereview.appspot.com//9315028
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3791 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 15:55:12 +00:00
ngeoffray@google.com
5401f87f78
Support named arguments for dynamic calls.
...
Review URL: https://chromiumcodereview.appspot.com//9316026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3786 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 13:04:24 +00:00
lrn@google.com
389eb6829a
Made multiline string literals ignore an initial newline.
...
Review URL: https://chromiumcodereview.appspot.com//9301037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3779 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 09:03:33 +00:00
hausner@google.com
bab2015be3
Frog fails the new conditional expression test.
...
Review URL: https://chromiumcodereview.appspot.com//9316018
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3773 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 01:20:17 +00:00
hausner@google.com
7f54ad8b0f
Fix brakage.
...
Was asleep.
Review URL: https://chromiumcodereview.appspot.com//9314019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3770 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 00:56:31 +00:00
hausner@google.com
0c61be512e
Allow assignment expressions in conditional expressions
...
Fix issue 1243 (http://code.google.com/p/dart/issues/detail?id=1243 )
Also fix issue 1370 (name of internal temporary variables, order of expression evaluation.)
Review URL: https://chromiumcodereview.appspot.com//9310007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3768 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 00:49:47 +00:00
srdjan@google.com
ac93efe4c1
Fix leg build, removed positive check as they fail in leg. The positive test must be somewhere else.
...
Review URL: https://chromiumcodereview.appspot.com//9317021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3765 260f80e4-7a28-3924-810f-c04153c831b5
2012-02-01 00:24:58 +00:00
zundel@google.com
ffd2a08a22
Type Variables cannot be used in identifier expressions
...
dartc was allowing this code to get through to code generation.
http://code.google.com/p/dart/issues/detail?id=1387
Review URL: https://chromiumcodereview.appspot.com//9307010
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3757 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 22:17:00 +00:00
srdjan@google.com
b4dbc21544
Fix frogsh builds.
...
Review URL: https://chromiumcodereview.appspot.com//9309015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3752 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 21:51:03 +00:00
zundel@google.com
6d9ee83915
Fix crash in dartc when given cyclic type variable bounds.
...
http://code.google.com/p/dart/issues/detail?id=211
Review URL: https://chromiumcodereview.appspot.com//9186017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3751 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 21:46:24 +00:00
srdjan@google.com
9e77768c91
Fix for bug 1229: Unary operator plus is not allowed ... except for literals.
...
Add tests for incorrect literals, e.g. "+ 5".
Added a temporary token kTIGHTADD that represents an ADD not terminated by a whitespace. It is temporary and eliminated in the parser (code generator ot AST do not see it). It is used to recognize correct literals.
Review URL: https://chromiumcodereview.appspot.com//9264051
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3745 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 20:05:24 +00:00
regis@google.com
8c7bf5bb20
Second try at disabling failing test, which is actually not failing in frog, but
...
only in leg.
Review URL: https://chromiumcodereview.appspot.com//9316003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3741 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 18:54:51 +00:00
regis@google.com
f2477b1a48
Disable new test failing in frogsh and leg.
...
Review URL: https://chromiumcodereview.appspot.com//9315003
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3740 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 18:41:46 +00:00
regis@google.com
67adc6e1a1
Add test for issue fixed in r3707.
...
Review URL: https://chromiumcodereview.appspot.com//9104044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3739 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 18:16:22 +00:00
ngeoffray@google.com
ee23e68aea
Support named arguments for statically resolved calls.
...
Review URL: https://chromiumcodereview.appspot.com//9301038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3735 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 16:49:01 +00:00
kasperl@google.com
f9b91f056e
Improve frog error reporting when providing too few or too many arguments.
...
This is a partial re-landing of r3720, but without getting rid of the
duplicate errors and warnings.
R=floitsch@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9264069
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3727 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 14:02:19 +00:00
kasperl@google.com
15d4af7cbf
Update test expectations for browser tests.
...
R=ngeoffray@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9264064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3710 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 08:24:39 +00:00
lrn@google.com
34c4562857
Refactoring of string literals. Implement static string addition.
...
QuotedString has become DartString, and it represents the actual Dart
string value (i.e., iterating over it provides character codes after
interpreting escape sequences). Quoting is now only used during parsing,
after that a DartString is just its content.
Static string addition (both as optimization and as required for
compile time constant expressions) is implemented by creating a ConsDartString
object that represents the concatenation, without flattening the string
unnecessarily.
Review URL: https://chromiumcodereview.appspot.com//9293006
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3709 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 07:28:57 +00:00
efortuna@google.com
95498e8e50
Prevent browser windows from staying open.
...
Review URL: https://chromiumcodereview.appspot.com//9303019
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3705 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 01:47:41 +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
regis@google.com
980cbf9c74
Store resolved library prefix in unresolved class object in order not to repeat
...
unnecessary library prefix resolution.
Remove redundant Type::NewParameterizedType() helper.
Simplify parsing of qualified identifiers.
Cleanup parsing of factory methods.
Fix resolution of imported types (add tests).
Review URL: https://chromiumcodereview.appspot.com//9233039
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3703 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-31 00:07:07 +00:00
ahe@google.com
1eaead81fd
A test of super constructor calls.
...
Review URL: https://chromiumcodereview.appspot.com//9298048
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3681 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-30 07:05:40 +00:00
zundel@google.com
8d897192ae
Call operator shared test and parser updates for operator call in dartc.
...
http://code.google.com/p/dart/issues/detail?id=1355
Review URL: https://chromiumcodereview.appspot.com//9288076
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3671 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 22:32:00 +00:00
scheglov@google.com
3964729a31
Issue 801. Use actual super constructor with all named or synthetic.
...
http://code.google.com/p/dart/issues/detail?id=801
R=zundel@google.com
BUG=
TEST=
Review URL: https://chromiumcodereview.appspot.com//9232050
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3661 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 17:12:43 +00:00
ahe@google.com
7d3345a87e
Update status for browser tests
...
Review URL: https://chromiumcodereview.appspot.com//9225026
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@3657 260f80e4-7a28-3924-810f-c04153c831b5
2012-01-27 16:22:50 +00:00