Commit graph

31263 commits

Author SHA1 Message Date
sigurdm@google.com c014b52640 Add missing override of DeferredConstantExpression in docgen.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45460 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-30 13:44:48 +00:00
sigurdm@google.com 1e723f68d1 Allow use of deferred type-literals in non-constant contexts.
BUG= dartbug.com/22893
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45459 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-30 11:38:54 +00:00
karlklose@google.com 3164951779 Change code to remove two warnings that are reported when running build.py.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45458 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-30 09:48:46 +00:00
karlklose@google.com dd7d140bc3 Adjust test expectations for dart2js-cps-ir.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45457 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-30 09:48:09 +00:00
johnniwinther@google.com 8361a9a7f0 Refactor to make visitDynamicSend deprecated.
BUG=
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45456 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-30 09:15:53 +00:00
danrubel@google.com af475ead16 restructure internal request to implement CompletionRequest API,
move performance tracking out of internal completion request,
and add resourceProvider to request

BUG=
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45455 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-30 05:09:03 +00:00
herhut@google.com fb553a3e20 dart2js: Do not emit closure classes if their instantiation is dead code.
BUG=
R=floitsch@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45454 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-29 19:19:37 +00:00
kevmoo@google.com 605fd81f2e format and improve changelog
R=kathyw@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45453 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-29 18:11:59 +00:00
danrubel@google.com 763fd171c9 cleanup imports
BUG=
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45452 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-29 16:58:47 +00:00
johnniwinther@google.com 5c208f4880 Fix deferred_not_loaded_check_test.
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45451 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-29 12:44:34 +00:00
johnniwinther@google.com 60f79ad841 Refactor SimpleTypeInferrer.visitGetterSend and visitStaticSend.
BUG=
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45450 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-29 11:58:40 +00:00
johnniwinther@google.com d9b0cc7da2 Refactor SsaBuilder.visitStaticSend and visitGetterSend.
BUG=
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45449 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-29 11:44:05 +00:00
karlklose@google.com f59e077911 Update dart2js-cps_ir test expectations for new tests committed in r45444.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45448 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-29 07:27:39 +00:00
scheglov@google.com ed2f434829 Issue 23337. Quick Fix for removing dead code.
R=brianwilkerson@google.com
BUG= https://code.google.com/p/dart/issues/detail?id=23337

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45447 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-29 04:52:24 +00:00
rmacnak@google.com fd8e2db578 Fix status for Dartium (can't distinguish compile-time errors).
Review URL: https://codereview.chromium.org//1112783002

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45446 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-29 03:52:25 +00:00
johnmccutchan@google.com 3490490ac2 Fix android cross compile
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45445 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-29 00:08:14 +00:00
rmacnak@google.com a6e42c48b5 Deal with deferred loading in the VM mirrors.
- Invalidate MirrorSystem.libraries when a load completes.
- Recheck if a deferred import's target has been loaded before failing.
- Allow loading libraries from a LibraryDepedencyMirror.
- Propogate compile-time error when attempting to reflect a deferred type.

BUG=http://dartbug.com/22592
R=asiva@google.com, gbracha@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45444 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-28 23:47:45 +00:00
johnmccutchan@google.com 464f3bb957 Change default value of c_frame_pointers
BUG=
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45443 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-28 23:28:39 +00:00
kevmoo@google.com cc78dfeaee remove pkg/mock
Moved to https://github.com/dart-lang/mock

R=ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45442 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-28 20:46:31 +00:00
johnniwinther@google.com 121c7f91fc Use Map<FieldElement, ConstantValue> for fields in ConstructedConstantValue.
BUG=
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45441 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-28 10:48:30 +00:00
johnniwinther@google.com 3d8faf261f Refactor SimpleTypeInferrer.visitSuperSend and deprecate ResolvedVisitor.visitSuperSend.
BUG=
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45440 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-28 09:19:40 +00:00
johnniwinther@google.com e464269f96 Refactor SsaBuilder.visitSuperSend.
BUG=
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45439 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-28 08:23:58 +00:00
johnmccutchan@google.com e4f20705f5 Fix idle ticks during isolate startup
- Change default isolate vm tag from idle to Embedder
- When a thread is exiting an isolate, only set the Idle tag if the isolate has been made runnable. Set LoadWait tag otherwise.

R=iposva@google.com, rmacnak@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45436 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-28 00:32:44 +00:00
fschneider@google.com ca629181d0 VM: Use canonical empty-array for empty inlining meta-data.
When inlining meta-information is not used, use Object::empty_array()
instead of Array::New(0), thus saving those allocations.

Guard places for length 0 - before all code objects had an inlining
interval array of length at least 1.

This saves 2 old-space array allocations per unoptimized code object.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45435 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 22:50:02 +00:00
rmacnak@google.com f5146670c6 Fix unsimulated ARM64 build.
R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45434 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 22:16:53 +00:00
johnmccutchan@google.com c670979533 - Fully load both Dart and Stub code kinds
- Ouptut "_optimized" field for fake code objects.

R=srdjan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45433 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 22:00:18 +00:00
rmacnak@google.com 44bb8bf95f Enable profiler by default on Android, and reduce profiler sampling rate for Android, ARM and MIPS.
Raspberry Pi 1 B+ (700MHz single-core ARMv6)
--profile_period=1000  DeltaBlue(RunTime): 231748.1111111111 us.
--profile_period=10000 DeltaBlue(RunTime): 117826.64705882352 us.
--profile_period=20000 DeltaBlue(RunTime): 111494.05555555555 us.
--profile_period=50000 DeltaBlue(RunTime): 101028.45000000001 us.
--profile=false        DeltaBlue(RunTime): 100488.70000000001 us.

Raspberry Pi 2 B (900MHz quad-core ARMv7)
--profile_period=1000  DeltaBlue(RunTime): 19612.676470588238 us.
--profile_period=10000 DeltaBlue(RunTime): 18774.51401869159 us.
--profile_period=20000 DeltaBlue(RunTime): 18611.314814814818 us.
--profile_period=50000 DeltaBlue(RunTime): 18940.10377358491 us.
--profile=false        DeltaBlue(RunTime): 18242.463636363635 us.

R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45432 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 21:45:51 +00:00
ricow@google.com bf512c6b32 Don't list pkg/third_party when finding packages
R=kevmoo@google.com
BUG=

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45431 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 20:11:42 +00:00
regis@google.com d5bace63ad Support profiling of simulated Dart code on mips, arm, and arm64.
R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45430 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 19:55:53 +00:00
ricow@google.com 501b3fef12 Add icudtl.dat file to content shell bundle on windows
R=whesse@google.com
BUG=379813

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45429 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 18:31:58 +00:00
rmacnak@google.com 0184cf0eca Add links to Observatory documentation and bug tracking.
BUG=http://dartbug.com/23224
R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45428 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 17:25:33 +00:00
johnmccutchan@google.com e23be8563a Fixes to enable building dart:io implementation cleanly in mojo tree
+ make Observatory respect script line offsets (which Sky uses).

R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45427 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 14:46:32 +00:00
brianwilkerson@google.com 641ea327ec Add standard files needed before we publish
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45426 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 14:18:06 +00:00
kevmoo@google.com a9978c0a20 fix the bots
TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45425 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 14:18:03 +00:00
brianwilkerson@google.com 0c90300719 Rename two more classes to prepare for the public API
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45424 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 14:14:22 +00:00
kevmoo@google.com 25378a89d0 Remove everything but markdown from third_party
markdown should be moved to gyp ASAP

R=nweiz@google.com, ricow@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45423 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 14:08:28 +00:00
lrn@google.com 31e27c7f9f Reuse RangeError.checkValidRange in dart2js core_patch.dart.
R=herhut@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45422 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 09:29:50 +00:00
lrn@google.com af031d6c0a Document ByteBuffer.asX() methods.
R=johnniwinther@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45421 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 09:06:20 +00:00
johnniwinther@google.com 92a21dbe79 Deprecate ResolvedVisitor.visitClosureSend.
R=karlklose@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45420 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-27 08:37:48 +00:00
iposva@google.com a1854d45ac Fix http://dartbug.com/23290
- Ensure that we do have unoptimized code available when generating
  coverage information.

R=johnmccutchan@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45419 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-24 23:31:15 +00:00
johnmccutchan@google.com 405d097ac8 Fix importing builtin libraries in gen_snapshot
BUG=
R=iposva@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45418 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-24 22:08:44 +00:00
danrubel@google.com 7f280a6779 guard against non-existant package directory
BUG=dartbug.com/23073
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45417 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-24 21:46:53 +00:00
nweiz@google.com e29bab1b4d Support defining environment constants for dart2js via the command-line.
These constants only work for dart2js because neither Dartium nor the isolate
API support defining them.

BUG= http://dartbug.com/15806
R=rnystrom@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45416 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-24 21:40:49 +00:00
danrubel@google.com a7fa3c85c2 suggest async/await
BUG=
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45415 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-24 21:39:57 +00:00
nweiz@google.com 697f93da1c Properly print an error when failing to load a transformer.
R=rnystrom@google.com
BUG= http://dartbug.com/21490

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45414 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-24 21:39:44 +00:00
nweiz@google.com 67f65fef97 Make observatory keep using html5lib.
Observatory has its own separate set of third_party packages.

TBR

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45413 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-24 20:50:24 +00:00
danrubel@google.com 140fd9c601 fix for r45387 - canonicalize path to prevent "type X cannot be assigned to type X" warnings
BUG=dartbug.com/23073
R=brianwilkerson@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45412 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-24 20:28:43 +00:00
rmacnak@google.com 9b245afa1e Fix showing values of instance fields.
BUG=
R=turnidge@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45411 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-24 20:13:42 +00:00
nweiz@google.com 70a846ad6c Update pubspecs and dependencies to get pkgbuild tests working.
This also removes the vendored copy of Angular, which was an outdated version of
an unstaffed branch.

R=pquitslund@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45410 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-24 20:08:53 +00:00
brianwilkerson@google.com ac3613e2bb Re-apply change to move to plugin package
R=scheglov@google.com

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

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@45408 260f80e4-7a28-3924-810f-c04153c831b5
2015-04-24 18:54:24 +00:00