Commit Graph

3917 Commits

Author SHA1 Message Date
asiva@google.com fbc931e6a6 Report OOM errors instead of asserting on allocation failures when sending
messages to other isolates.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21980 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 20:52:22 +00:00
hausner@google.com 51e4445539 Fix debugging of top-level getters
Parser didn't set the valid token range of top-level getters, so they
were invisible to the debugger.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21976 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 20:26:14 +00:00
regis@google.com 52a0f3c983 Enable api tests on ARM.
Disable generation of optimized code on ARM and MIPS.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21972 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 18:55:52 +00:00
vegorov@google.com c34810fd26 Preserve aggregate count when creating unary checks ICData.
We were reseting it to 1 which leads to worse inlining decisions for example for user defined binary operators. Inliner considered them all cold.

R=srdjan@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21964 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 17:51:10 +00:00
zra@google.com 632e9c7aaf Implements missing features to run Hello, World in checked mode on MIPS.
Also re-enables a stack frame test that was disabled in checked mode.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21951 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 15:36:40 +00:00
iposva@google.com 7ce7e98194 - Do not include unneeded platform/json.h.
Review URL: https://codereview.chromium.org//14476002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21949 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 14:04:13 +00:00
iposva@google.com d4e0eae584 - Avoid warnings when building with clang.
Review URL: https://codereview.chromium.org//13940017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21942 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 12:28:27 +00:00
sgjesse@google.com d27309942c Fix broken Mac OS socket code
The order of the fields in the sockaddr structures on Mac OS was different and we where relying on the Linux/Windows order of fields. This should now be platform independent.

TBR=ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21940 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 11:51:56 +00:00
ajohnsen@google.com ca706b0387 Disable IPv6 lookup by default.
Will revert once IPv6 have stablized.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21936 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 10:25:25 +00:00
lrn@google.com e0e13fe852 Fix missing concurrency check in [].forEach.
Also fix a bad range check for List.setRange.

Added more tests.

BUG=http://dartbug.com/10045

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21935 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 09:34:17 +00:00
ajohnsen@google.com 55963a1a6d Add new InternetAddress class with a static lookup function (including IPv6
results).

Reapply of https://codereview.chromium.org/13880029/ with fixes.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21934 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 09:26:58 +00:00
johnniwinther@google.com f721629103 Change libraries map to use Uri.
Review URL: https://codereview.chromium.org//14178010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21929 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 08:19:24 +00:00
ajohnsen@google.com 60946b53fc Revert "Add new InternetAddress class with a static lookup function (including IPv6 results)."
Revert "Attempt to fix strict align issue."
Revert "Trying another fix."

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21928 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 08:10:00 +00:00
ajohnsen@google.com 81290b98ee Trying another fix.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21927 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 08:02:13 +00:00
ajohnsen@google.com 423025b20d Attempt to fix strict align issue.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21925 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 07:32:27 +00:00
ajohnsen@google.com 20d1f5ddda Add new InternetAddress class with a static lookup function (including IPv6 results).
Reapply of https://codereview.chromium.org/14083007/ with fixes.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21923 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-24 07:12:05 +00:00
zra@google.com 8e2bd19051 Disable a stack frame test in checked mode on simulated MIPS.
Review URL: https://codereview.chromium.org//13843014

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21909 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 22:10:23 +00:00
zra@google.com 4190de5bfc Enables stack frame vm tests on MIPS.
Review URL: https://codereview.chromium.org//14446005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21906 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 21:42:19 +00:00
zra@google.com 697364354b Implements catch on MIPS.
Enables UnhandledException test for MIPS.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21898 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 18:15:52 +00:00
johnmccutchan@google.com 08c99e80e6 Inline Float32x4 Getters
Review URL: https://codereview.chromium.org//13872020

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21897 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 17:52:10 +00:00
podivilov@google.com 5c785e45dc Add fallback to load the original version of dart:io library
if url mapping is not provided.

R=asiva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21892 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 16:26:33 +00:00
regis@google.com ad6005e5c4 Support debugger API on ARM.
Support smull ARM instruction in order to detect 32-bit multiplication overflow.
Enable debugger api tests on ARM.
Enable isolate tests on ARM.
Enable code descriptors tests on ARM.
Enable snapshot tests on ARM.
Enable heap tests on ARM.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21890 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 16:10:22 +00:00
ager@google.com 78e447386b Yet another couple
R=srdjan@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21880 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 13:12:51 +00:00
ager@google.com 6d8365e90f Update more fingerprints.
I'm sorry about all these individual changelists. Runs all debug
mode tests now, so this should be better.

R=srdjan@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21879 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 13:09:38 +00:00
ager@google.com a52499abd8 Fixing more fingerprints. What is the right way to find all of these?
R=srdjan@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21877 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 12:41:10 +00:00
kmillikin@google.com be777a1a7e Fix another unused-private-field clang error.
../../runtime/vm/intermediate_language.h:1093:20: error: private field 'block_entry_' is not used [-Werror,-Wunused-private-field]
  BlockEntryInstr* block_entry_;

R=kmillikin@google.com

Signed-off-by: Thiago Farina <tfarina@chromium.org>

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

Patch from Thiago Farina <tfarina@chromium.org>.

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21876 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 12:38:55 +00:00
ager@google.com 4f1a6eccc4 More fixes. Thanks to Slava for reminding me of check-function-fingerprints flag.
R=asiva@google.com, floitsch@google.com, srdjan@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21875 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 12:23:27 +00:00
ager@google.com 63c98181b0 Fix wrong typed_data change.
R=asiva@google.com, floitsch@google.com, srdjan@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21873 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 12:06:00 +00:00
ager@google.com 431954b584 Rename dart:typeddata to dart:typed_data.
R=asiva@google.com, floitsch@google.com, srdjan@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21871 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 11:54:54 +00:00
lrn@google.com 554a845e4f Make List.remove return boolean.
Remove Queue implementations' remove methods, which are not in the
interface.
Added more tests for list operations.
Fixed bugs and omissions found by tests.

http://dartbug.com/10042
http://dartbug.com/10112

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21867 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 11:13:17 +00:00
vegorov@google.com 207d8eb43a Optimize static field and context load/stores as part of CSE pass.
This change also introduces basic abstractions for aliasing.

R=srdjan@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21866 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 11:09:14 +00:00
sgjesse@google.com afcb3ce69e Revert "Add new InternetAddress class with a static lookup function (including IPv6 results)"
TBR=ajohnsen@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21865 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 10:07:03 +00:00
sgjesse@google.com 042dbc4793 Anoher try to avoid GCC strict-aliasing error
TBR=ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21864 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 10:02:01 +00:00
sgjesse@google.com 6b4d9bfb80 Try to avoid GCC strict-aliasing error
TBR=ajohnsen@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21863 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 09:51:32 +00:00
ajohnsen@google.com b33d142414 Add new InternetAddress class with a static lookup function (including IPv6 results).
Socket.connect/ServerSocket.bind now accepts IPv6 host names. If a new ServerSocket is connected to an IPv6 interface, it will (if possible) support incoming IPv4 connections as well.

BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21862 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 09:36:18 +00:00
iposva@google.com 9eab35b19c - Remove redundant include of platform/globals.h.
Review URL: https://codereview.chromium.org//14367034

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21860 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 06:55:17 +00:00
sgjesse@google.com efcd056ebe Support upgrading sockets to secure sockets
This build on the support for upgrading raw sockets to raw secure sockets.

R=ajohnsen@google.com
BUG=https://code.google.com/p/dart/issues/detail?id=8789

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21859 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-23 06:50:59 +00:00
iposva@google.com 6c4ac09cb9 - Remove heap tracing.
Review URL: https://codereview.chromium.org//14179015

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21844 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 21:43:57 +00:00
johnmccutchan@google.com d41cdc6d61 Mark Float32x4List as fixed length array.
Review URL: https://codereview.chromium.org//13932038

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21841 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 21:35:31 +00:00
zra@google.com e411541296 Implements exception handler stub on MIPS.
Also enables codegen and object tests on MIPS.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21839 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 21:15:54 +00:00
hausner@google.com 72a4fed8e9 Implement list isolates command
New Debugger wire protocol command to list all isolates in a vm.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21831 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 18:43:03 +00:00
zra@google.com 682cff0a01 Implements context allocation stub for MIPS.
Also removes uses of Push and Pop macros.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21824 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 17:39:32 +00:00
floitsch@google.com f74e8a023b Revert "- Do not keep growing when creating Lists from Iterables."
This reverts commit r21531.

BUG= http://dartbug.com/10070

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21817 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 16:52:03 +00:00
iposva@google.com 8b624711d7 - Check for error when creating the source string.
Review URL: https://codereview.chromium.org//13842019

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21813 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 13:12:57 +00:00
iposva@google.com e4f262142e Fix http://dartbug.com/9137 :
- Use non-normalized name when complaining about unrecognized flags.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21811 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 12:59:44 +00:00
vegorov@google.com 2e0af6585f Ensure that type of the AssertAssignable instruction is recomputed.
If the previous type was more specific than destination type but new value type is not than we need to update outgoing type to be destination type. Otherwise a stale more specific type will be flowing out.

BUG=dart:10094
R=kmillikin@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21809 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 12:30:05 +00:00
johnniwinther@google.com df9856de6a Update vm test of LibraryMirror.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21804 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 10:48:08 +00:00
johnniwinther@google.com b6b309de52 Change url to uri on LibraryMirror.
Review URL: https://codereview.chromium.org//14251005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21803 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 10:27:41 +00:00
kustermann@google.com 753169a796 Removed product_dir override in runtime/dart-runtime.gyp
Review URL: https://codereview.chromium.org//14192035

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21793 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 09:06:22 +00:00
kustermann@google.com e2216f61bf Fast copy between TypedData and ExternalTypedData
Until now, copying data from TypedData to TypedData and from ExternalTypedData
to ExternalTypedData was fast. But copying between TypedData and
ExternalTypedData was not handled in a fast way.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21791 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-22 08:27:15 +00:00