Florian Schneider
b1dfa2aee1
VM: Enable branch merging of isnan, isinf.
...
More general ComparisonInstr by introducing TemplateComparison.
R=zra@google.com
Review URL: https://codereview.chromium.org/2463593002 .
2016-10-31 20:21:19 +01:00
Konstantin Shcheglov
ba382b6ce4
Explain why we need SourceFactory.clone().
...
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2468583002 .
2016-10-31 12:18:42 -07:00
Konstantin Shcheglov
b39d156ea6
Ignore adding and changing non-Dart files.
...
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2463723004 .
2016-10-31 11:24:24 -07:00
Martin Kustermann
e984271b94
Add support for OSR in kernel-based FlowGraphBuilder
...
R=vegorov@google.com
Review URL: https://codereview.chromium.org/2464953002 .
2016-10-31 19:12:09 +01:00
Zachary Anderson
be11752b14
Use 'mx_channel' instead of deprecated 'mx_msgpipe' naming
...
BUG=
R=zra@google.com
Review URL: https://codereview.chromium.org/2458703004 .
2016-10-31 11:10:06 -07:00
Konstantin Shcheglov
4d8ceb01a1
Send highlight and navigation notifications on result.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org/2469453002 .
2016-10-31 11:04:49 -07:00
Konstantin Shcheglov
0257eeb4f5
Simplify handling of watch events for the new analysis driver.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org/2463903002 .
2016-10-31 11:00:22 -07:00
Konstantin Shcheglov
6826e267b9
Integration of the new analysis driver, behind a flag.
...
The flag is --enable-new-analysis-driver, disabled by default.
WIP, only error notifications for now.
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2465923002 .
2016-10-31 09:54:31 -07:00
John McCutchan
d62e41fcea
Use old assertion text script in precompiled mode
...
BUG=
R=fschneider@google.com
Review URL: https://codereview.chromium.org/2466533003 .
2016-10-31 09:13:55 -07:00
Konstantin Shcheglov
3319e6d0e3
Fix for inlining async methods/getters.
...
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org/2463493002 .
2016-10-31 08:48:37 -07:00
Florian Loitsch
f9cf78a1af
Fix docs for Stream.handleError
.
...
Fixes #27699
BUG= http://dartbug.com/27699
R=lrn@google.com
Review URL: https://codereview.chromium.org/2467453002 .
2016-10-31 16:03:05 +01:00
Vyacheslav Egorov
2cd737abab
Fix Debian builder.
...
Do not rely on checked in Dart SDK for patch_sdk.py.
Use dart_boostrap instead just like observatory does.
R=kustermann@google.com , whesse@google.com
BUG=
Review URL: https://codereview.chromium.org/2464833002 .
2016-10-31 14:13:33 +01:00
Vijay Menon
e8fbfc4f0d
Mark test as runtime failure
...
pkg collection is now clean.
TBR=jmesserly@google.com
Review URL: https://codereview.chromium.org/2466533002 .
2016-10-31 06:00:59 -07:00
Vijay Menon
7bf9cbb7d4
Bump to latest package:collection
...
R=floitsch@google.com
Review URL: https://codereview.chromium.org/2460363002 .
2016-10-31 05:37:41 -07:00
Erik Ernst
06416e404b
Fixed typo in spec: REHTROW --> RETHROW
...
Review URL: https://codereview.chromium.org/2462993002 .
2016-10-31 10:15:03 +01:00
Konstantin Shcheglov
1bdee25bdf
Revert "Do nothing if [changeFile] reported, but the file content is the same."
...
This reverts commit 1ffda5601b
.
There is a bug with reporting changeFile() twice, first time the change
be noticed and the file content hash updated. But the second time the
content hash is the same, and we unschedule the file from analysis :-(
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2462743003 .
2016-10-28 18:06:46 -07:00
Konstantin Shcheglov
1ffda5601b
Do nothing if [changeFile] reported, but the file content is the same.
...
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2458853003 .
2016-10-28 14:08:50 -07:00
Jan-Hendrik Dolling
89560c68a0
change "the the" to the
2016-10-28 21:47:50 +02:00
Konstantin Shcheglov
5ad24d5185
Clone SourceFactory to ensure that it does not bring a ContentAnalysis reference.
...
TBR
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2453773006 .
2016-10-28 10:23:55 -07:00
Vyacheslav Egorov
4923c45689
Update Kernel dependency.
...
R=kustermann@google.com
BUG=
Review URL: https://codereview.chromium.org/2459863004 .
2016-10-28 13:06:50 +02:00
Vyacheslav Egorov
dc80ad0ab4
Update kernel.status to accomodate for dart2js semantics
...
R=kustermann@google.com
BUG=
Review URL: https://codereview.chromium.org/2457703005 .
2016-10-28 12:08:08 +02:00
Johnni Winther
b0ecbef3cc
Introduce isAbstractlyInstantiated to avoid exact masks of abstract classes.
...
Classes can be instantiated directly, abstractly or indirectly:
When [cls] is directly instantiated: This means that at runtime instances of exactly [cls] are assumed to exist.
When [cls] is abstractly instantiated: This means that at runtime instances of [cls] or unknown subclasses of [cls] are assumed to exist.
This is used to mark native and/or reflectable classes as instantiated. For native classes we do not know the exact class that instantiates [cls] so [cls] here represents the root of the subclasses. For reflectable classes we need event abstract classes to be 'live' even though they cannot themselves be instantiated.
When [cls] is indirectly instantiated: This means that a subclass of [cls] is directly or abstractly instantiated.
R=sigmund@google.com
Review URL: https://codereview.chromium.org/2443953002 .
2016-10-28 08:45:57 +02:00
Jennifer Messerly
bdeb6023af
fix #27672 , call computeConstantValue for metadata
...
R=vsm@google.com
Review URL: https://codereview.chromium.org/2458693003 .
2016-10-27 14:05:54 -07:00
Jennifer Messerly
644c1dca75
fix #27429 , html wrapper methods pass incorrect number of arguments
...
R=vsm@google.com
Review URL: https://codereview.chromium.org/2454173003 .
2016-10-27 13:16:00 -07:00
Konstantin Shcheglov
2625d6af37
More tests and a few fixed for the driver.
...
TBR
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2450183004 .
2016-10-27 10:52:12 -07:00
Adam Barth
0ea1c155ae
Fix the Fuchsia build
...
Python scripts need to be marked executable to run in the Fuchsia build.
TBR=zra@google.com
2016-10-27 09:59:58 -07:00
Konstantin Shcheglov
0fcf8924d5
Several tests for AnalysisDriver and an elements.dart tweak.
...
I will not land this without review.
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2455843002 .
2016-10-27 09:24:31 -07:00
John McCutchan
8007a98b5b
Produce the correct assertion failure expression in the face of inlining
...
Fixes #27671
BUG=
R=asiva@google.com
Review URL: https://codereview.chromium.org/2453263002 .
2016-10-27 07:29:22 -07:00
Vijay Menon
f276f3422f
Mark test strong clean for DDC
...
TBR=jmesserly@google.com
Review URL: https://codereview.chromium.org/2457753002 .
2016-10-27 16:13:43 +02:00
Vyacheslav Egorov
40611dd611
Remove custom expect.dart from Kernel tests
...
TBR=kustermann@google.com
BUG=
Review URL: https://codereview.chromium.org/2454993003 .
2016-10-27 15:14:03 +02:00
Zachary Anderson
e29da6037b
Small cleanups and linter fixes.
...
Review URL: https://codereview.chromium.org/2455983002 .
2016-10-27 05:02:20 -07:00
Zachary Anderson
8169499ef8
GN: Format more gn files
...
Missed these on the first pass.
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2454703004 .
2016-10-27 04:25:34 -07:00
Vyacheslav Egorov
eb8c24e133
Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork."
...
R=zra@google.com
BUG=
Review URL: https://codereview.chromium.org/2451623006 .
2016-10-27 10:09:22 +02:00
Konstantin Shcheglov
9190ad6b6f
Add the 'status' stream and transitions.
...
TBR
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2450143003 .
2016-10-26 13:36:24 -07:00
Konstantin Shcheglov
755e26c4d9
Analyze requested files.
...
TBR
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2453913002 .
2016-10-26 13:16:42 -07:00
Konstantin Shcheglov
6be23afcf2
Try to load the existing unlinked bundle by the content hash.
...
So that we don't create _File.forResolution() when we could use only
the content hash and the existing unlinked bundle. This makes loading
cached analysis results cheaper - no need to parse the unit.
TBR
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2450283003 .
2016-10-26 13:06:03 -07:00
Konstantin Shcheglov
bd594d453f
Put fully resolved analysis results (just errors now) into the byte cache.
...
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2455573003 .
2016-10-26 11:48:49 -07:00
Adão Júnior
205e9a58e1
DDC readme links pointing to current repository ( #27662 )
2016-10-26 10:50:46 -07:00
Zachary Anderson
c1b08a0b97
GN: Try to fix Linux build on bots
...
Review URL: https://codereview.chromium.org/2449213003 .
2016-10-26 10:48:14 -07:00
Konstantin Shcheglov
9b68e89be1
Tweaks for documentation.
...
TBR
R=brianwilkerson@google.com
BUG=
Review URL: https://codereview.chromium.org/2451093003 .
2016-10-26 09:53:20 -07:00
Zachary Anderson
55094eadd7
Fuchsia: fix build
...
Review URL: https://codereview.chromium.org/2448323005 .
2016-10-26 09:50:05 -07:00
Zachary Anderson
c1313a5ec7
Format GN files and add a presubmit check that GN is properly formatted
...
R=johnmccutchan@google.com
Review URL: https://codereview.chromium.org/2451613005 .
2016-10-26 08:50:54 -07:00
Zachary Anderson
e3f1794ba3
GN: Fix dart_bootstrap build
...
Makes sure we are using the no_snapshot variants of the libraries,
that we get builtin.cc instead of builtin_nolib.cc, and that all of
the right library sources get built in.
fixes=27668
R=vegorov@google.com
Review URL: https://codereview.chromium.org/2449223004 .
2016-10-26 08:24:23 -07:00
Vyacheslav Egorov
12968edb9c
Revert "Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork.""
...
This reverts commit 4e7a31262e
.
Windows bots are broken now.
R=zra@google.com
BUG=
Review URL: https://codereview.chromium.org/2451893004 .
2016-10-26 17:07:18 +02:00
Zachary Anderson
1ed9dc3ac0
GN: Fix arm cross build to match gyp build
...
R=vegorov@google.com
Review URL: https://codereview.chromium.org/2456463003 .
2016-10-26 07:58:42 -07:00
Vyacheslav Egorov
16e4f2f1c2
Revert "Revert "Revert "Recognize and optimize a.runtimeType == b.runtimeType pattern."""
...
This reverts commit e495e100dd
.
Commit breaks bots that are using Android devices (SIMARM is unaffected).
R=rmacnak@google.com
BUG=
Review URL: https://codereview.chromium.org/2449013004 .
2016-10-26 16:53:32 +02:00
Vyacheslav Egorov
4e7a31262e
Reland "Merge more Kernel infrastructure from kernel_sdk SDK fork."
...
This relands commit 2fed1c3905
with fixes to ensure that analyzer summaries are correctly created and XARM build does not try to use target binaries on the host.
R=zra@google.com
BUG=
Review URL: https://codereview.chromium.org/2453773002 .
2016-10-26 16:48:28 +02:00
Konstantin Shcheglov
f797154673
Fix for LibraryDirective annotations while applying resynthesized element model.
...
This allows us to clean up the analysis driver.
I will NOT land this without your review.
R=brianwilkerson@google.com , paulberry@google.com
BUG=
Review URL: https://codereview.chromium.org/2445193003 .
2016-10-26 07:40:07 -07:00
Lasse R.H. Nielsen
22a57bbe2c
Adapt analyzer to new warnings around switch-case fallthrough.
...
Fixes issue #27664 .
BUG= http://dartbug.com/27664
R=brianwilkerson@google.com
Review URL: https://codereview.chromium.org/2446093003 .
Committed: 1322877f5b
Committed: 1f7d8924c6
Committed: 9c2306c7dc
2016-10-26 14:03:14 +02:00
Vyacheslav Egorov
cf7ff42e60
Revert "Merge more Kernel infrastructure from kernel_sdk SDK fork."
...
This reverts commit 2fed1c3905
.
SDK builds are failing
TBR=zra@google.com
Review URL: https://codereview.chromium.org/2455593002 .
2016-10-26 13:06:27 +02:00