Zachary Anderson
53374c3b99
Fuchsia: Build standalone VM. Make it run "Hello, World!".
...
This CL adds targets to the GN build that build the standalone Dart VM
without the observatory, and with dart:io enabled but with most of the
functionality stubbed out as UNIMPLEMENTED(). It also adds a simple
eventhandler for Fuchsia for implementing Timers.
R=asiva@google.com , johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2168193002 .
2016-07-22 14:00:31 -07:00
Carlo Bernaschina
5680532769
Converted Observatory nav-bar element
...
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2173613002 .
2016-07-22 13:53:12 -07:00
Zachary Anderson
b5a40f8a60
DBC: Only try Smi fastpath in unoptimized code
...
R=fschneider@google.com
Review URL: https://codereview.chromium.org/2173213002 .
2016-07-22 13:43:00 -07:00
Zachary Anderson
867851db25
Retry background compilation if an assumption is invalidated
...
Also, if there is a bailout during background compilation, then
disable optimization.
R=fschneider@google.com
Review URL: https://codereview.chromium.org/2172063003 .
2016-07-22 13:23:47 -07:00
Ryan Macnak
8fef08717f
GN: Don't complain about dart_runtime_mode == "profile" + dart_debug (AOT with asserts).
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2168263002 .
2016-07-22 09:58:23 -07:00
William Hesse
5790e88f00
Update status for co19 test that also fails on linux Chrome 53.
...
Also change status for dart2js_native/native_call test from compile-time
error to a runtime error.
BUG=
R=jacobr@google.com
Review URL: https://codereview.chromium.org/2173653004 .
2016-07-22 18:51:22 +02:00
William Hesse
0502a04122
Update status for Chrome 53
...
BUG=
TBR=kustermann@google.com
Review URL: https://codereview.chromium.org/2175573003 .
2016-07-22 16:05:45 +02:00
Carlo Bernaschina
4cb0cd442c
Converted Observatory top-nav-menu element
...
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2159273003 .
2016-07-21 17:20:00 -07:00
Carlo Bernaschina
a459125aa1
Converted Observatory curly-block element
...
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2160793004 .
2016-07-21 16:42:46 -07:00
Carlo Bernaschina
b04ecef38b
Refactoring of nav-notify
...
Required for the new menu structure.
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2161363002 .
2016-07-21 16:21:49 -07:00
Carlo Bernaschina
fd1a529825
Adding _getBoolAttribute helper method
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2170783003 .
2016-07-21 16:14:29 -07:00
Ryan Macnak
9470c085c3
Fix allocation stats for cross-compiled AOT targeting ARM or MIPS.
...
Resolves disagreement between SIMARM and ARM on the size of ClassHeapStats. Fixes assertion failures in AllocStats::Verify.
R=fschneider@google.com
Review URL: https://codereview.chromium.org/2172803002 .
2016-07-21 16:04:57 -07:00
John McCutchan
8dc35ba47e
Fix Flutter mac build
...
BUG=
Review URL: https://codereview.chromium.org/2174503002 .
2016-07-21 14:43:34 -07:00
Siva Annamalai
353dac728c
Print safepoint message only after some attempts.
...
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/2172763002 .
2016-07-21 14:36:23 -07:00
Ryan Macnak
fd63b906c0
Include an empty breakpoints list on the Isolate response when the debugger is disabled.
...
The protocol documentation claims this field is non-nullable and at least two clients assume it as well.
BUG=http://dartbug.com/26938
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2172683003 .
2016-07-21 14:33:24 -07:00
Konstantin Shcheglov
d382ca6d09
Use local variable/function index in its enclosing executable as a part of the identifier.
...
This makes these identifiers stable as long as the executable's body
is not changed, in which case we should get rid of these locals
anyway.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org/2167773007 .
2016-07-21 14:32:48 -07:00
pq
947a53193e
Cleanup unused imports.
...
BUG=
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org/2170913004 .
2016-07-21 13:25:00 -07:00
John McCutchan
136c3ddf47
Fix Flutter's Linux build
...
BUG=
Review URL: https://codereview.chromium.org/2167253003 .
2016-07-21 12:58:43 -07:00
Konstantin Shcheglov
b7ce35e3b2
Fix for local function element identifiers.
...
Slightly enhance the incremental invalidation test for constants.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org/2165383002 .
2016-07-21 12:47:20 -07:00
Harry Terkelsen
8b1a84c0e0
remove unused message
...
R=jacobr@google.com
Review URL: https://codereview.chromium.org/2173473002 .
2016-07-21 12:46:15 -07:00
pq
2913dd0e19
Analyzer 0.27.4-alpha.18.
...
* Support for references to operators in doc comments (#26929 ).
BUG=
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org/2170013002 .
2016-07-21 12:45:18 -07:00
Ryan Macnak
35f56623d4
Speculative fix for timeouts (hangs) in
...
language/disassmble_test
utils/recursive_import_test
utils/dummy_compiler_test
Also fix an ASAN warning about mismatched new/delete.
R=fschneider@google.com
Review URL: https://codereview.chromium.org/2164383002 .
2016-07-21 11:25:05 -07:00
John McCutchan
c373aa760a
Rate limit devfs writes
...
Fixes a 'too many open files' error with non-rooted Android devices
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/2172513003 .
2016-07-21 11:03:15 -07:00
Terry Lucas
437e3cd8d9
Updated to latest CL in WebKit
...
TBR=jacobr@google.com
Review URL: https://codereview.chromium.org/2163993004 .
2016-07-21 09:52:08 -07:00
Brian Wilkerson
5cb949e513
Support references to operators in doc comments
...
R=scheglov@google.com
Review URL: https://codereview.chromium.org/2168833003 .
2016-07-21 09:13:02 -07:00
Zachary Anderson
7cc544696f
Remove fuchsia_test from gyp build
...
Review URL: https://codereview.chromium.org/2168073003 .
2016-07-21 08:48:18 -07:00
Zachary Anderson
43668b55c7
Fuchsia: Make fuchsia_test use snapshots
...
R=asiva@google.com
Review URL: https://codereview.chromium.org/2171453002 .
2016-07-21 08:36:14 -07:00
Konstantin Shcheglov
fa854d41f6
Fix for limited invalidation in the middle, and the unlimited invalidation for an exported library.
...
Consider libraries `A`, `B`, and `C`, where `C` imports `B`, and `B`
exports `A`. [RESOLVED_UNIT4] of `C` depends on [LIBRARY_ELEMENT4] of
[IMPORTED_LIBRARIES], i.e. `B`. Even though [LIBRARY_ELEMENT4] of `B`
depends on [LIBRARY_ELEMENT3]s of its [EXPORT_SOURCE_CLOSURE] (i.e. `A`
and `B`), [RESOLVED_UNIT4] of `C` sees only [LIBRARY_ELEMENT4] of `B`.
When invalidate results of `B` (but keep results of `C`), we will
invalidate and remove [LIBRARY_ELEMENT4] of `B`, so we lose knowledge
that [RESOLVED_UNIT4] of `C` indirectly depends on `A`.
The solution is do depend on [EXPORT_SOURCE_CLOSURE] of all
[IMPORTED_LIBRARIES] in [RESOLVED_UNIT4] of `C`.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org/2171673002 .
2016-07-21 07:26:47 -07:00
Vyacheslav Egorov
2a8581a238
VM: Remove _GrowableList.from which was never called.
...
It contained a bug anyway: _GrowableList does not have a 0 arguments constructor.
R=fschneider@google.com
BUG=
Review URL: https://codereview.chromium.org/2163173003 .
2016-07-21 16:13:37 +02:00
John Messerly
232553a209
fix #26912 , correct handling of op assign
...
Cleans up some strange things in the code. Now uses TypeSystem.refineBinaryExpressionType, which has some extra handling such as correct understanding of type parameter bounds (in strong mode). Fixed/simplified ErrorVerifier's checking to not look at the wrong type.
R=leafp@google.com
Review URL: https://codereview.chromium.org/2166133002 .
2016-07-20 17:37:37 -07:00
Jacob Richman
bbb0c3f727
Seems like this is all that is required to support callable JS objects. dartbug.com/25321
...
BUG=
R=sra@google.com
Review URL: https://codereview.chromium.org/2164483004 .
2016-07-20 13:16:37 -07:00
Ryan Macnak
db48637ab3
Clear token streams before compacting the symbol table.
...
Also fixes size regression introduced by 83da4db9f9
.
BUG=http://dartbug.com/26916
R=fschneider@google.com
Review URL: https://codereview.chromium.org/2167683004 .
2016-07-20 12:48:27 -07:00
Carlo Bernaschina
bc14cab5aa
Added helper function to automatically dirty a RenderingScheduler on attribute change
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2159273004 .
2016-07-20 12:47:18 -07:00
Ryan Macnak
8e7e848112
Add some tests related to type equality after reload.
...
BUG=http://dartbug.com/26869
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2160953005 .
2016-07-20 12:34:08 -07:00
John McCutchan
f79756b88d
Hot reload status file updates
...
BUG=
R=rmacnak@google.com
Review URL: https://codereview.chromium.org/2164063002 .
2016-07-20 11:02:23 -07:00
Zachary Anderson
2c6449087d
DBC: Misc double instructions
...
- DoubleToSmi
- MathUnary
- MathMinMax
R=fschneider@google.com
Review URL: https://codereview.chromium.org/2162173002 .
2016-07-20 09:46:32 -07:00
Zachary Anderson
8aed249e88
DBC: A bit of Polymorphic instance call
...
Only for the case without checks. Still enough for a good bump on
Richards. I've also increased the number of "registers" to 32 to
get rid of the SPILLs on DeltaBlue, but couldn't see a performnace
improvement. Probably better not to bail out, though.
R=vegorov@google.com
Review URL: https://codereview.chromium.org/2162953005 .
2016-07-20 08:54:50 -07:00
Brian Wilkerson
c03b85d418
Add a toUri method to Resource
...
R=paulberry@google.com , scheglov@google.com
Review URL: https://codereview.chromium.org/2165843002 .
2016-07-20 08:53:03 -07:00
Konstantin Shcheglov
7b7aa3bd43
Separate gathering Delta changes and validation.
...
This allows us to handle correctly cycles in dependencies.
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org/2162053004 .
2016-07-20 08:42:36 -07:00
William Hesse
ca49303576
Revert "Add fast-mode Uri class."
...
This reverts commit 00090a0c72
.
Revert "Add fast-mode Uri class."
This reverts commit 323ca7e410
.
Revert "Fix regression for the one case where we deliberately don't follow the RFC."
This reverts commit b39e048c4b
.
Revert "Cache hashCode in Uri implementations to improve performance when used as, e.g., Map key."
This reverts commit a11ad27723
.
BUG=https://github.com/dart-lang/sdk/issues/26917
TBR=keertip@google.com
Review URL: https://codereview.chromium.org/2167663002 .
2016-07-20 14:32:52 +02:00
Zachary Anderson
760cd01571
Move root_certificates.cc reference out of io_impl_sources.gypi.
...
Embedders using GN that don't DEPS in //third_party/root_certificates
fail on this file during build file generation because it does not
exist. It only needs to be referenced in the gyp build of the standalone
embedder for Linux and Windows.
R=asiva@google.com
Review URL: https://codereview.chromium.org/2156973003 .
2016-07-19 21:55:19 -07:00
Konstantin Shcheglov
ce9871ac15
Fix closure parameter types propagation after limited invalidation.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org/2161163003 .
2016-07-19 21:06:39 -07:00
Konstantin Shcheglov
d02cfc433f
Fix for incremental resolution and strong mode comments.
...
Also run all incremental resolution tests in strong mode.
Fix for keeping strong mode results after incremental resolution.
R=brianwilkerson@google.com
BUG= https://github.com/dart-lang/sdk/issues/26911
Review URL: https://codereview.chromium.org/2164833003 .
2016-07-19 21:03:46 -07:00
Florian Schneider
25070b85b1
Fix for use-after-free of reload context
...
Delete the reload context after the last use. My first attempt did not work
with our unit test framework for reload cc tests. When running unit tests
the reload context is needed for longer, and deleted separately.
BUG=#26895
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2164703003 .
2016-07-19 18:28:56 -07:00
Ryan Macnak
4b369f6a0c
Remove dead full snapshot support from the recursive descent serializer.
...
R=asiva@google.com
Review URL: https://codereview.chromium.org/2161853002 .
2016-07-19 17:50:49 -07:00
Ryan Macnak
883f25ff08
Use the Code's pointer offsets to find object references when disassembling IA32.
...
Attempt to de-flake language/disassemble_test by removing a heap walk.
R=fschneider@google.com
Review URL: https://codereview.chromium.org/2160343003 .
2016-07-19 17:25:36 -07:00
Jacob Richman
bcf224b3e6
Regression tests for 25658 and 24817.
...
BUG=
R=alanknight@google.com
Review URL: https://codereview.chromium.org/2168493002 .
2016-07-19 17:08:58 -07:00
Harry Terkelsen
faaff39aa9
Record that MediaStream creates MediaStreamTracks
...
BUG=
R=alanknight@google.com
Review URL: https://codereview.chromium.org/2168473002 .
2016-07-19 17:00:04 -07:00
Carlo Bernaschina
5282bd5b64
Suppressed warnings
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2165863002 .
2016-07-19 16:07:24 -07:00
Carlo Bernaschina
9fb05ba1f8
Converted Observatory nav-menu-item element
...
R=johnmccutchan@google.com , rmacnak@google.com
Review URL: https://codereview.chromium.org/2160123002 .
2016-07-19 15:45:07 -07:00