Commit graph

33342 commits

Author SHA1 Message Date
Todd Turnidge d6060d2ddd Don't allow variables to overwrite the frame edge.
Make the variables demand a bit more room in general.

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1307323003 .
2015-08-25 12:52:16 -07:00
Stan Manilov fe402c50ea sdk/dartanalyzer now detects an available build
Similar to CL 1276333002; this allows the dartanalyzer script to pick an
available build, rather than failing if ReleaseIA32 is not available.

BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1314893003 .
2015-08-25 20:48:14 +02:00
Brian Wilkerson 271bc1f776 Convert completion API to be future based
R=danrubel@google.com

Review URL: https://codereview.chromium.org//1318543002 .
2015-08-25 11:01:13 -07:00
Harry Terkelsen bc0deb66d7 dart2js: fetch http Resources
BUG=
R=sigmund@google.com

Review URL: https://codereview.chromium.org//1308143002 .
2015-08-25 10:46:27 -07:00
Brian Wilkerson 4bd6b4b048 Fix display of parameter lists in servers Element structure (issue 24194)
R=scheglov@google.com

Review URL: https://codereview.chromium.org//1313113002 .
2015-08-25 09:23:26 -07:00
Brian Wilkerson 0061447293 Implements instance member inference. Records the correct return type for synthetic function elements representing initializers.
R=leafp@google.com, paulberry@google.com

Review URL: https://codereview.chromium.org//1306313002 .
2015-08-25 07:48:49 -07:00
Kevin Millikin 90039f64ae dart2js CPS: simple inlining of static invocations.
Inline static functions whose bodies are a single Dart expression that
just calls a foreign (native) function.  This eliminates a lot of
overhead from the code in the JavaScript runtime library.

R=asgerf@google.com
BUG=

Review URL: https://codereview.chromium.org//1318453003 .
2015-08-25 13:31:46 +02:00
Michael Thomsen 8c346abeef Mentioning null-aware in 1.12 changelog
BUG=none
R=johnniwinther@google.com

Review URL: https://codereview.chromium.org//1305273005 .
2015-08-25 11:34:34 +02:00
Johnni Winther 6b156993db Use Name instead of Selector in SemanticSendVisitor
BUG=
R=floitsch@google.com, sigmund@google.com

Review URL: https://codereview.chromium.org//1314573002.
2015-08-25 10:03:32 +02:00
Johnni Winther 4ed23aff42 Remove SendResolver.computeSendStructure.
BUG=
R=floitsch@google.com

Committed: 4013a9aae5

Reverted: 73a49a5ddb

Review URL: https://codereview.chromium.org//1306143002.
2015-08-25 09:32:26 +02:00
Srdjan Mitrovic 304dc3486f Make default_parameter_values a ZoneGrowableArray instead of an array in new space
BUG=
R=hausner@google.com

Review URL: https://codereview.chromium.org//1307943008 .
2015-08-24 17:22:44 -07:00
Paul Berry b547acc883 Band-aid fix for issue #24191.
This is sufficient to avoid throwing an exception in the resolver,
which in turn will prevent the analysis server from going into an
infinite analysis loop.

I'll work on a more complete fix (which infers the proper type in all
cases) for the next release.

R=brianwilkerson@google.com

Review URL: https://codereview.chromium.org//1307353002 .
2015-08-24 16:05:05 -07:00
Regis Crelier 8b825b3f73 Simplify and improve canonicalization of signature types.
R=srdjan@google.com

Review URL: https://codereview.chromium.org//1311773006 .
2015-08-24 14:53:33 -07:00
Srdjan Mitrovic fcea0077cc Minor cleanup in preparation for removal of allocation in new space, and removal of an 'optimization'
BUG=
R=hausner@google.com

Review URL: https://codereview.chromium.org//1310383002 .
2015-08-24 13:40:32 -07:00
Todd Turnidge 8ed37776d4 If the isolate is in the process of resuming, do not report it as paused.
This may be causing bug #24176.

R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1313713003 .
2015-08-24 13:38:33 -07:00
Todd Turnidge af72ed3afc Fix bug in isolate_lifecycle_test.
Closes #24174

R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1305353004 .
2015-08-24 12:55:54 -07:00
John McCutchan 8e1d5f181c Fix profiler test failure on simulator
BUG=

Review URL: https://codereview.chromium.org//1307283002 .
2015-08-24 12:02:31 -07:00
Todd Turnidge bc28a64f20 Allow script insets to scroll.
Closes #23959

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1309223002 .
2015-08-24 11:35:01 -07:00
John McCutchan d61c0ebc04 Chain samples together to collect long stack traces in profiler
- Add continuation_index field to profiler sample.
- Add bit to tell if a sample is the head of a chain.
- Add bit to tell if a sample has a chained sample.
- Each sample holds 8 frames.
- Collect up to 8 frames (1 sample) by default.
- Refactor stack walker code to support chaining during stack walking.
- Add unit test collecting 20 stack frames.

R=asiva@google.com

Review URL: https://codereview.chromium.org//1270003002 .
2015-08-24 11:29:44 -07:00
John McCutchan 2bde865138 Fix NotifyPauseOnStart and NotifyPauseOnExit dead lock
BUG=
R=turnidge@google.com

Review URL: https://codereview.chromium.org//1312793004 .
2015-08-24 10:47:40 -07:00
Ryan Macnak 85ef528eaa Fix two typos in Observatory.
BUG=http://dartbug.com/24181
R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1311083003 .
2015-08-24 10:02:49 -07:00
keertip 41a12640a4 update dartdoc rev in deps
BUG=
R=pquitslund@google.com, whesse@google.com

Review URL: https://codereview.chromium.org//1311023002 .
2015-08-24 08:46:12 -07:00
Devon Carew a910b6ca70 analyzer version to 0.26.1+1
BUG=
R=brianwilkerson@google.com, paulberry@google.com

Review URL: https://codereview.chromium.org//1310093003 .
2015-08-24 08:08:53 -07:00
Johnni Winther 73a49a5ddb Revert "Remove SendResolver.computeSendStructure."
This reverts commit 4013a9aae5.

BUG=

Review URL: https://codereview.chromium.org//1311123002.
2015-08-24 13:46:28 +02:00
Johnni Winther 4013a9aae5 Remove SendResolver.computeSendStructure.
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1306143002.
2015-08-24 11:31:23 +02:00
Karl Klose 999ec11985 dart2js cps: Handle native functions, getters, and setters.
R=asgerf@google.com

Review URL: https://codereview.chromium.org//1288013002 .
2015-08-24 11:01:54 +02:00
Karl Klose 6820b95c1c dart2js cps: update test expectations.
TBR=kmillikin@google.com

Review URL: https://codereview.chromium.org//1303333003 .
2015-08-24 10:59:15 +02:00
Konstantin Shcheglov 581e20d2f6 Disable incremental resolution for not BlockFunctionBody(s).
R=brianwilkerson@google.com
BUG=

Review URL: https://codereview.chromium.org//1310073002 .
2015-08-22 10:04:53 -07:00
Stephen Adams 5d575f307c dart2js cps: Generate fast checks for 'is String' and 'is bool'.
R=sigmund@google.com

Review URL: https://codereview.chromium.org//1301363002 .
2015-08-21 17:41:21 -07:00
Ivan Posva 41840f3740 - Really delete InterruptableThreadState.
R=koda@google.com

Review URL: https://codereview.chromium.org//1308973003 .
2015-08-21 15:59:34 -07:00
Vijay Menon a95f44a0f1 Bump dev_compiler to 0.1.6
R=jmesserly@google.com

Review URL: https://codereview.chromium.org//1310513003 .
2015-08-21 15:11:10 -07:00
John McCutchan a9be61a358 Static analysis fixes and debug prints for wedging test
BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1302313003 .
2015-08-21 14:31:33 -07:00
Regis Crelier 26031ab6b0 Avoid numerous type allocations by caching the canonical type of a class, which
is used as the receiver type for non-static methods of this class, be it a
generic, non-generic, or signature class.

R=srdjan@google.com

Review URL: https://codereview.chromium.org//1309613002 .
2015-08-21 13:37:07 -07:00
Ivan Posva 62b6ac0aa4 - Fix .gitignore on Windows.
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1309913002 .
2015-08-21 13:16:57 -07:00
Daniel Andersson 028c995295 Keep StoreBuffer::global_mutex_ and global_empty_ alive.
At Dart::CleanUp time, there may still be threads around that access their store buffer, so we need to keep these around until @zanderso lands the clean shutdown CL.

We should stop leaking them once we cleanly stop all threads at VM shutdown (see issue 23844).

BUG=https://github.com/dart-lang/sdk/issues/24169
R=iposva@google.com

Review URL: https://codereview.chromium.org//1305123003 .
2015-08-21 13:09:16 -07:00
Konstantin Shcheglov aea1e572a1 Sort top-level constants before other top-level variables.
R=danrubel@google.com
BUG=

Review URL: https://codereview.chromium.org//1306083003 .
2015-08-21 12:19:48 -07:00
Srdjan Mitrovic 2b6219fd5a Addressed review comments from previous CLs; adding more Symbols::FromConcat
BUG=
R=hausner@google.com

Review URL: https://codereview.chromium.org//1308013002 .
2015-08-21 11:16:30 -07:00
Todd Turnidge 7e8bb130f2 Add an IsolateRunnable event to the service protocol. Improve service docs.
Closes #24140

R=johnmccutchan@google.com

Review URL: https://codereview.chromium.org//1293383011 .
2015-08-21 10:25:38 -07:00
Todd Turnidge f5075eda0b Update debugger console height when window is resized.
Closes #23985

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1305163002 .
2015-08-21 09:57:25 -07:00
Todd Turnidge 40c3c3862f Fix documentation for Class.{finalized,implemented,path}.
We had decided to make them private but forgotten to update the docs.

Closes #24162

Review URL: https://codereview.chromium.org//1306223002 .
2015-08-21 09:53:53 -07:00
Daniel Andersson 74e02785b0 Fix reuse of free store buffer blocks from the global cache of free blocks.
Add StoreBuffer::ShutDown to delete global cache of free blocks on VM shutdown.

BUG=https://github.com/dart-lang/sdk/issues/24129
R=iposva@google.com

Review URL: https://codereview.chromium.org//1309603003 .
2015-08-21 08:37:09 -07:00
Johnni Winther 4b85e5b393 Handle erroneous constant constructor call.
BUG=

Review URL: https://codereview.chromium.org//1309743002.
2015-08-21 15:05:58 +02:00
Johnni Winther 087155dcde Remove code accidentally committed.
BUG=

Review URL: https://codereview.chromium.org//1306113002.
2015-08-21 14:22:01 +02:00
Johnni Winther bda8db4785 Make InferrerVisitor implement SemanticSendVisitor directly and delete ResolvedVisitor.
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1308803002.
2015-08-21 14:11:33 +02:00
Johnni Winther 9a64a00ab9 Deprecate visitStaticSend in ResolvedVisitor.
BUG=
R=floitsch@google.com

Review URL: https://codereview.chromium.org//1302313002.
2015-08-21 14:04:48 +02:00
William Hesse 0cbe042935 Add .gitignore file for utils/dartdoc.
BUG=
R=sgjesse@google.com

Review URL: https://codereview.chromium.org//1307903002 .
2015-08-21 13:50:59 +02:00
Florian Schneider c05f1f9448 VM: Link native calls lazily.
The first invocation of a native functions goes into LinkNativeCall which
determines the final entry point and patches the object pool entry.

When running precompiled code, this makes deserializing the object
pool entries for native functions easy, they all initially point to
a single entry (LinkNativeCall).

BUG=
R=rmacnak@google.com

Review URL: https://codereview.chromium.org//1294113004 .
2015-08-21 11:37:50 +02:00
Stan Manilov 96a76a9bb1 Add documentation for StringToken.stringValue
It simply points to the documentation for Token.stringValue. Also: fix
minor typo.

R=ahe@google.com

Review URL: https://codereview.chromium.org//1283373005 .
2015-08-21 09:50:57 +02:00
Florian Schneider 2e24b091ff VM: Remove dead code from arm/mips/arm64 call instruction patterns
BUG=
R=srdjan@google.com

Review URL: https://codereview.chromium.org//1304743003 .
2015-08-21 09:44:24 +02:00
Johnni Winther 9ce4da5e1a Refactor qualified send sets.
Closes #23795

R=floitsch@google.com

Review URL: https://codereview.chromium.org//1293953006.
2015-08-21 09:34:45 +02:00