Commit Graph

1248 Commits

Author SHA1 Message Date
zra@google.com 566643cece Disables a debugger test for MIPS.
Debug_InterruptIsolate is running in less than a second locally,
but timing out on the buildbot. Disabling for now until I can
figure out what is going on.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@22043 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-25 18:20:47 +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
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
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
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
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
asiva@google.com bd1f1d9edf Fix tests to use identical instead of ===
Review URL: https://codereview.chromium.org//14318006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21699 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 20:08:32 +00:00
asiva@google.com 6955ed0244 Add endian parameter to the get/set functions in ByteData.
Review URL: https://codereview.chromium.org//14332002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21688 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-18 18:19:43 +00:00
regis@google.com ea04c34362 Uncomment more vm tests on ARM (and some on MIPS too).
Implement context allocation stub.
Some cleanup.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21626 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-17 16:02:02 +00:00
vsm@google.com b29a528fc6 Revert "Revert "Remove typeddata transferable constructors""
Take #2. The only change here is the additional test fix under runtime that I missed.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21586 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-16 22:36:04 +00:00
floitsch@google.com 5431a5af54 Remove AsyncError with Expando.
Review URL: https://codereview.chromium.org//14251006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21498 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 18:58:32 +00:00
floitsch@google.com 759a366cea Remove insertRange.
Review URL: https://codereview.chromium.org//13956006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21464 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 15:20:16 +00:00
ahe@google.com 45ad548837 Update dart:mirrors to use Symbol.
Review URL: https://codereview.chromium.org//14173005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21460 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 15:00:45 +00:00
floitsch@google.com bebe3ac2cd Refactor List.setRange function.
Review URL: https://codereview.chromium.org//13863012

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21452 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 13:52:29 +00:00
lrn@google.com 0f607e459c Remove methods on StackTrace class.
The API is not ready for finalization, so we remove it for further
development after M4.

Makes dart2js's StackTrace object implement dart:core's StackTrace.
Marks dart2js stack-trace tests as Fail instead of Skip.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21437 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-15 11:44:30 +00:00
zra@google.com e8f86c5d3a Adds support for UseDartApi vm test on MIPS.
Also, adds:
- xori instruction,
- SubuDetectOverflow (like AdduDetectOverflow).
Review URL: https://codereview.chromium.org//13884017

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21396 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 22:20:32 +00:00
ajohnsen@google.com 044f0d02eb Remove Collection, Collections and clean up List/Set/Queue implementations of retain/remove.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21338 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-12 09:34:52 +00:00
erikcorry@google.com 9d044d3f20 dart2js: Allow 'throw' when inlining
R=karlklose@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21259 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-11 09:20:28 +00:00
gbracha@google.com e08647bfd3 BREAKING CHANGE: Rename InstanceMIrror.invoke, .getField, .setField to invokeAsync, getFieldAsync, setFieldAsync. Likewise ClosureMirror.apply and ClassMIrror.newInstance. This is in preparation of new synchronous versions of the originals.
Review URL: https://codereview.chromium.org//13967003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21242 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 23:58:22 +00:00
zra@google.com 2c5cea8d4e Supports FrameLookup vm test on MIPS
As with the similar CL for ARM, also:
- Supports inline allocation of objects.
- Supports checking of inline cache and instance calls.
- Supports subtype test cache.
- Supports (some) equality checks.
- Supports for (some) conditional branches.
- Supports for pool pointer setup in stubs.
Review URL: https://codereview.chromium.org//14076005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@21233 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-10 21:59:57 +00:00
floitsch@google.com 8fd6d0aafd Remove Expect from core library.
Committed: https://code.google.com/p/dart/source/detail?r=19755
Reverted: http://code.google.com/p/dart/source/detail?r=19756

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20996 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 19:43:16 +00:00
regis@google.com 46a5dbeb26 Support UseDartApi vm test on ARM.
Review URL: https://codereview.chromium.org//13671004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20981 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-05 16:46:53 +00:00
zra@google.com 0cc80971fb Implements type checking in MIPS needed for FindCodeObject test.
Review URL: https://codereview.chromium.org//13619008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20932 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-04 17:55:06 +00:00
zra@google.com 9e05e96e90 Fixes a bug in MIPS simulator runtime call handling.
Also:
- Fixes a bug in the MIPS SimulatorDebugger that
  causes a crash if the pc is an illegal address
- Reenables the FindCodeObject test on MIPS when
  checking is off
Review URL: https://codereview.chromium.org//13489008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20924 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-04 16:56:00 +00:00
zra@google.com 2be466ad31 Turn off FindCodeObject for simmips.
I hadn't run it with type checks, and so I've got some more work to do on it.
Review URL: https://codereview.chromium.org//13584006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20896 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 21:58:45 +00:00
zra@google.com fd72ee418a Implements optional parameter handling in MIPS vm.
- Deocdes ic data and argument descriptor.
- Removes SUB instruction from assembler and disassembler.
Review URL: https://codereview.chromium.org//13474009

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20895 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 21:43:52 +00:00
regis@google.com 05e2ba9540 Support FrameLookup vm test on ARM, requiring among other things:
Maintain a separate top_exit_frame_info for simulated frames and use it to
verify that longjumps are safe.
Make sure unwinding of scopes works in the presence of a simulator.
Support inline allocation of objects.
Support checking of inline cache and instance calls.
Support subtype test cache.
Support (some) equality checks.
Support for (some) conditional branches.
Support for pool pointer setup in stubs.
Review URL: https://codereview.chromium.org//13502002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20890 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 20:17:14 +00:00
srdjan@google.com a6012ce6be FIx linux simarm and simmips: disable tests requiring dart execution.
Review URL: https://codereview.chromium.org//13585002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20887 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 19:53:17 +00:00
srdjan@google.com ec54a6e409 Mark CallLeafRuntimeStubCode as failing on Mips/Mac OS X.
Added some cleanups.
Review URL: https://codereview.chromium.org//13575002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20885 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 19:42:29 +00:00
lrn@google.com 3b13f62170 Remove addLast from List.
The List.addLast method has been deprecated for quite a while.
A recent change removed it from the interface, but left the
implementation in place (which caused some errors from the analyzer).
This removes it completely.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20857 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-03 12:52:19 +00:00
zra@google.com 3e080d1b34 Adds native/leaf runtime call stub and redirection on MIPS.
Review URL: https://codereview.chromium.org//13473010

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20813 260f80e4-7a28-3924-810f-c04153c831b5
2013-04-02 20:24:55 +00:00
asiva@google.com 417659c2dd Adapt remaining dart:scalarlist tests to use dart:typeddata
Review URL: https://codereview.chromium.org//13137002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20643 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 20:52:38 +00:00
regis@google.com b24d57ca66 Support checked mode for VM tests on ARM.
Review URL: https://codereview.chromium.org//12773008

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20623 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-28 17:41:35 +00:00
zra@google.com 463b651f78 Adds Stop to MIPS. Starts on MIPS call patcher.
Review URL: https://codereview.chromium.org//12703028

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20527 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-26 17:50:43 +00:00
regis@google.com 0c27ffc6a4 Implement optional parameter handling in ARM vm.
Enable FindCodeObject test on ARM (production mode only for now).
Make sure the object pool is allocated in the old space.
Some more code cleanup on IA32 and X64 (use named constants).
Review URL: https://codereview.chromium.org//12663024

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20399 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 18:30:35 +00:00
aprelev@gmail.com b7ba136b4b Added support for redirecting factories in dart api.
BUG=dartbug.com/6958

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20366 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-22 03:31:14 +00:00
lrn@google.com 844cd39fad Change getRange to sublist. Make getRange deprecated.
This changes the exception behavior of getRange. It used to accept
a length of zero, no matter what start value. Now the start value
must be a valid list index.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20064 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-15 09:15:39 +00:00
regis@google.com 7b5a610084 Make allocation of Dart parameters and local variables architecture independent.
Enable a couple more vm tests on ARM.
Fix function usage counter access on ARM.
Review URL: https://codereview.chromium.org//12776006

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@20048 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-14 21:33:03 +00:00
regis@google.com 6a701789b9 Decode ic data and arguments descriptor passed in calls on ARM.
Review URL: https://codereview.chromium.org//12518016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19827 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 23:15:48 +00:00
lrn@google.com 53f877edb7 Rename String.concat to operator+.
Review URL: https://codereview.chromium.org//12441003

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19788 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-11 12:59:17 +00:00
floitsch@google.com 5dc8107c53 Revert "Remove Expect from core library."
This reverts commit 19755.

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19756 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-09 03:19:07 +00:00
floitsch@google.com 12dbd2fd70 Remove Expect from core library.
Review URL: https://codereview.chromium.org//12212016

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19755 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-09 02:40:37 +00:00
regis@google.com 7766ac76d4 Implement leaf runtime call stub on ARM and corresponding call redirection
in ARM simulator.
Implement jump patching on ARM.
Add missing ICache flush calls.
Review URL: https://codereview.chromium.org//12439005

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19724 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 21:16:46 +00:00
regis@google.com b95087eb73 Implement native call stub on ARM and native call redirection in ARM simulator.
Pass PatchStaticCall test.
Review URL: https://codereview.chromium.org//12629004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19704 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 18:22:14 +00:00
johnmccutchan@google.com 2c21d3d9c4 Move Float32x4 tests out of runtime/vm/tests into tests/standalone
Review URL: https://codereview.chromium.org//12450011

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19695 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 15:22:12 +00:00
lrn@google.com cd9bcfe956 Remove references to capital-D-Dynamic.
Review URL: https://codereview.chromium.org//12615002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19687 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-08 11:57:28 +00:00
asiva@google.com 825d996682 Update status file to remove skip of byte_array* tests on windows.
Review URL: https://codereview.chromium.org//12386063

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19343 260f80e4-7a28-3924-810f-c04153c831b5
2013-03-01 22:57:00 +00:00
asiva@google.com 614b946f8a Resubmit change 19074.
Review URL: https://codereview.chromium.org//12335111

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19096 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 23:24:24 +00:00
johnmccutchan@google.com 4f8f682f82 Fix dartium build by fixing SIMD tests.
Review URL: https://codereview.chromium.org//12347002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19027 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 03:14:40 +00:00
tball@google.com 73bde21dea Corrected test suppression from previous CL.
Review URL: https://codereview.chromium.org//12317117

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@19022 260f80e4-7a28-3924-810f-c04153c831b5
2013-02-26 00:12:33 +00:00