srdjan@google.com
f1198ffe5e
Added type propagation from store to load locals, but only within a sequence node (not across basic block).
...
Review URL: http://codereview.chromium.org//8919025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2365 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-13 01:11:28 +00:00
sra@google.com
82066a9553
Test for frog native properties.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8923015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2362 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-12 23:18:13 +00:00
mattsh@google.com
b18cd70666
beginning of matrix class
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8872007
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2360 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-12 23:14:03 +00:00
zundel@google.com
2c38b7de7f
This adds a check to the resolver to detect when an override
...
has different number of parameters than in its superinterface.
Review URL: http://codereview.chromium.org//8632020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2354 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-12 19:19:18 +00:00
srdjan@google.com
46748dc6b1
Allocate double temporaries in old space, because they belong there. Canonicalize more double literals.
...
Review URL: http://codereview.chromium.org//8921012
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2351 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-12 18:59:20 +00:00
scheglov@google.com
05a20f5381
Restore failure in release mode
...
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2349 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-12 18:40:09 +00:00
sigmund@google.com
addfb308e2
fix bot: corrected language.status file
...
TBR=jimhug
Review URL: http://codereview.chromium.org//8921013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2348 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-12 18:34:54 +00:00
sigmund@google.com
d4b3d10673
frog: check that const constructors have potentially const initializers. Also
...
check that const objects don't have non-final fields (this makes
ConstConstructorNegativeTest fail for the right reasons)
Review URL: http://codereview.chromium.org//8921009
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2347 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-12 18:30:20 +00:00
ngeoffray@google.com
28cb721c9f
First implementation of top-level fields without initializers.
...
Review URL: http://codereview.chromium.org//8924001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2346 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-12 17:29:12 +00:00
srdjan@google.com
7b61cef42b
Implement two-arguments-check inline cache. Use it first for Smi binary operations.
...
Review URL: http://codereview.chromium.org//8827015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2345 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-12 17:24:47 +00:00
danrubel@google.com
34a06ec871
Use VM specific types if DartC types are not available
...
Review URL: http://codereview.chromium.org//8894031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2344 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-12 16:32:04 +00:00
scheglov@google.com
4a11fd42a3
Tweaks for reporting duplicates, issue 519.
...
http://code.google.com/p/dart/issues/detail?id=519
New tests, plus inlining existing *.dart files into tests with strict checks.
R=zundel@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8846002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2343 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-12 16:20:05 +00:00
sra@google.com
aed94fd301
Generate EventListener attributes of non-EventTarget classes.
...
Some DOM types have EventListenter attributes but are not
EventTargets. For these types we have no choice but to implement the
onxxx attributes.
This change also reverts the addition of EventTarget to the
implemented types of JavaScriptAudioNode. That was a mistake.
BUG=
TEST=
Review URL: http://codereview.chromium.org//8894029
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2336 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-10 09:53:46 +00:00
sra@google.com
e1c3205bf2
Test for static methods and named constructors on hidden native class.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8894027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2335 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-10 07:54:36 +00:00
mrrussell@google.com
663199cbc5
add JDK/bin to the path
...
Review URL: http://codereview.chromium.org//8894025
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2333 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-10 06:12:46 +00:00
mrrussell@google.com
44289a6689
add the JAVA_HOME to the environment for the call to build.py when running on the dart-editor-linux bot
...
Review URL: http://codereview.chromium.org//8896015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2332 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-10 05:36:54 +00:00
regis@google.com
e100995e6a
Port jump and call instruction decoding and patching for x64 (2nd try).
...
Review URL: http://codereview.chromium.org//8898014
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2331 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-10 00:38:09 +00:00
regis@google.com
58b01b042c
Fix build breakage (partially revert r2327).
...
Review URL: http://codereview.chromium.org//8895015
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2330 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 23:54:13 +00:00
vsm@google.com
649071d8c5
Add enables consistent with Chrome's WebKit
...
jacobr: You'll also pick up new apis next time you gen dart:html.
Review URL: http://codereview.chromium.org//8895013
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2328 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 23:15:30 +00:00
regis@google.com
9aa346b921
Port jump and call instruction decoding and patching for x64.
...
Review URL: http://codereview.chromium.org//8896017
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2327 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 22:46:44 +00:00
regis@google.com
809cd5590a
Helper ast node sequences must not wrongly grab ownership of the enclosing
...
scope (fix issue 736).
Add test.
Review URL: http://codereview.chromium.org//8893008
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2324 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 21:32:14 +00:00
hausner@google.com
75918306af
First debugger API unit test
...
Add unit test file, expose more debugger functionality in the API.
Review URL: http://codereview.chromium.org//8872049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2320 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 19:29:37 +00:00
antonm@google.com
eaa1c801b7
Properly account for RawObject size.
...
Recently tags_ field has been added, but visitor hasn't been updated.
Maybe we should provide a helper on RawInstance to access native field
by index and remove code duplication with Instance.NativeFieldAddr.
Review URL: http://codereview.chromium.org//8898002
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2319 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 18:20:31 +00:00
cshapiro@google.com
aae8784962
Add an interface for retrieving the value of unsigned 64-bit integers.
...
With this change, IntegerValue is renamed to IntegerToInt64 for symmetry
with the new IntegerToUint64 interface. Also uses of UInt64 have been
replaced with Uint64 for naming consistency.
Review URL: http://codereview.chromium.org//8585049
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2317 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 17:25:44 +00:00
efortuna@google.com
b9ea49523e
Added barebones framework to get appengine to host our data.
...
Review URL: http://codereview.chromium.org//8883033
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2316 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 16:57:11 +00:00
zundel@google.com
40e46c0d60
Remove duplicate arguments from hoisted functions.
...
See example Dart code that tickles this problem here:
http://code.google.com/p/dart/issues/detail?id=565
Review URL: http://codereview.chromium.org//8894004
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2315 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 16:49:47 +00:00
ahe@google.com
199dd9ca5e
Add --ast to mini_parser.dart.
...
Review URL: http://codereview.chromium.org//8879052
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2314 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 16:30:57 +00:00
floitsch@google.com
2b393613eb
Second try for instantiation of objects.
...
First try was here: http://codereview.chromium.org/8888010/
Review URL: http://codereview.chromium.org//8893001
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2313 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 15:24:58 +00:00
whesse@google.com
7f1edc16cb
Enable Dartium tests in tools/test.dart.
...
BUG=
TEST=tools/test.dart
Review URL: http://codereview.chromium.org//8889016
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2312 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 15:23:09 +00:00
sgjesse@google.com
8871567117
Don't treat stdin from a terminal differently from piped input
...
Both piped input (when using the "<" to pipe in a file) and terminal
input from stdin can set POLLIN with 0 bytes available without POLLHUP
when end of file is reached.
R=ager@google.com
BUG=dart:782
TEST=none
Review URL: http://codereview.chromium.org//8879053
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2311 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 14:11:47 +00:00
sgjesse@google.com
8f1b82458f
Improve the event handling for string input stream
...
1. The string input stream now calls the data or line handler if there
is still data available after returning from the data or line
handler. These callbacks are scheduled on the event loop.
2. The reading of data is now throtteld so that calls to read or
readLine will not eagerly try to read from the wrapped input
stream. After each call to read the data handler is installed if
no more buffered data is available. Also when the data handler
is called the data handler on the wrapped input stream is
un-installed if no more data is required for the current data or
line handler.
One side effect of this change is that just reading from an input
stream obtained from a file is no longer possible. One will have to
set up a data handler callback of some kind before any calls to read
will return data. We can of cause change this to allow synchronous
usage of an input stream obtained from a file (maybe with an optional
argument to openInputStream).
Fixed a related throtteling issue with the chunked input stream.
R=ager@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8885032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2310 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 14:08:47 +00:00
ager@google.com
a0d46e99f6
Cache the tests across configurations in the test scripts.
...
Only generate the generated tests once and run them for each
configuration.
R=whesse@google.com
BUG=
TEST=
Review URL: http://codereview.chromium.org//8872064
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2308 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 13:24:30 +00:00
ahe@google.com
846bdc88d0
Parse all variations of for-statement.
...
Review URL: http://codereview.chromium.org//8883024
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2300 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 09:34:35 +00:00
sra@google.com
753088eb43
Add KeyName and KeyLocation to frog dom.
...
Removed the 'snippet' and added these classes to src.
dart:html could also #source these files now.
BUG=
TEST=
Review URL: http://codereview.chromium.org//8872058
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2299 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 07:06:02 +00:00
sra@google.com
0868e8fafa
Turn on ENABLE_VIDEO to enable AudioContext.createMediaElementSource
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8889042
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2298 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 05:51:06 +00:00
sra@google.com
d0cd0a5e58
Work-around Frog codegen bug where Window is derived from native DOMWindow.
...
Window really needs to be an alias for DOMWindow.
Worker-friendly console.
BUG=
TEST=
Review URL: http://codereview.chromium.org//8879044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2297 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 02:25:40 +00:00
srdjan@google.com
8b6d22348d
Fix crash from issue 744: evaluate left first before deopt happens (strict comparison).
...
Review URL: http://codereview.chromium.org//8873044
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2295 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-09 01:44:10 +00:00
cshapiro@google.com
59541fef4c
Use specialized unwrapping methods for reading Double and Bool values.
...
Review URL: http://codereview.chromium.org//8888031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2292 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 23:50:40 +00:00
turnidge@google.com
864f65bbc2
Add missing file from last cl.
...
Review URL: http://codereview.chromium.org//8888032
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2291 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 23:38:05 +00:00
turnidge@google.com
c6aadb497d
Teach the assembler how to generate multi-byte nops. Teach the
...
disassembler to understand them. Use multi-byte nops in Align(). Add
tests.
Review URL: http://codereview.chromium.org//8888020
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2290 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 23:35:34 +00:00
vsm@google.com
895891f8e8
Added WebSocket support for dartc and frog
...
Review URL: http://codereview.chromium.org//8879037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2289 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 23:16:19 +00:00
iposva@google.com
c594af7a5a
- Use "#if defined" when checking for DEBUG.
...
Review URL: http://codereview.chromium.org//8879038
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2287 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 23:08:15 +00:00
regis@google.com
dd32effb72
Adjust index of type parameters at finalization time (fix issue 718).
...
Add test.
Review URL: http://codereview.chromium.org//8872037
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2286 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 23:00:55 +00:00
sra@google.com
3f26a8169b
JavaScriptAudioNode is an EventTarget.
...
BUG=
TEST=
Review URL: http://codereview.chromium.org//8872040
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2285 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 22:43:54 +00:00
jmesserly@google.com
527c321449
move tip to utils so it can be picked up in the SDK
...
Review URL: http://codereview.chromium.org//8889031
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2284 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 22:06:59 +00:00
jmesserly@google.com
bda85b81ac
DOM fixes for types that are not marked hidden. They are not used, so we don't generate the right dynamic handlers for them.
...
Review URL: http://codereview.chromium.org//8888027
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2283 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 21:57:18 +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
mrrussell@google.com
ac303eac35
fix the dependancies in the compiler (TBR)
...
Review URL: http://codereview.chromium.org//8885021
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2278 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 20:13:57 +00:00
dgrove@google.com
69d06de47f
Update toss.dart's imports after moving it.
...
Review URL: http://codereview.chromium.org//8873030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2274 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 19:52:15 +00:00
dgrove@google.com
c8e0e93d9a
Move frog/server to toss.dart .
...
Review URL: http://codereview.chromium.org//8879030
git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2273 260f80e4-7a28-3924-810f-c04153c831b5
2011-12-08 19:49:25 +00:00