Ryan Macnak
b93307ea92
Move the kernel isolate snapshot out of the 'runtime' target to reduce build times on the simulators.
...
R=fschneider@google.com
Review-Url: https://codereview.chromium.org/2663063006 .
2017-01-31 14:46:30 -08:00
Ben Konyi
171a27b79c
Fixed issue where initial 1KB zone buffer was not being accounted for when tracking thread zone memory usage.
...
BUG=
R=johnmccutchan@google.com
Review-Url: https://codereview.chromium.org/2651273004 .
2017-01-31 14:32:26 -08:00
Konstantin Shcheglov
54c8496a38
Fix for resynthesizing invalid elements as type arguments of declared types.
...
Reproduced using Brian's stress test.
R=paulberry@google.com
BUG=
Review-Url: https://codereview.chromium.org/2662983005 .
2017-01-31 14:28:31 -08:00
pq
bcfa7e9ad2
analyzer and front_end alphas.
...
BUG=
R=brianwilkerson@google.com , paulberry@google.com
Review-Url: https://codereview.chromium.org/2661373002 .
2017-01-31 14:00:16 -08:00
Konstantin Shcheglov
17077ff2e0
Catch Uri.parse() FormatException and skip the URI.
...
You saw it, and the stress test reproduced it too.
R=brianwilkerson@google.com
BUG=
Review-Url: https://codereview.chromium.org/2664313002 .
2017-01-31 13:55:48 -08:00
Emily Fortuna
6baace1a2f
Add SuperPropertyGet.
...
BUG=https://github.com/dart-lang/sdk/issues/27394
R=sra@google.com
Review-Url: https://codereview.chromium.org/2666803002 .
2017-01-31 13:53:12 -08:00
Todd Turnidge
efcdcb7709
Add Debugger_Rewind_Optimized test.
...
BUG=
R=johnmccutchan@google.com
Review-Url: https://codereview.chromium.org/2664303002 .
2017-01-31 13:52:23 -08:00
Brian Wilkerson
81397c00aa
Add top-level driver and abstract plugin superclass
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2667823003 .
2017-01-31 13:41:56 -08:00
Paul Berry
b489ae5a5f
Simplify the API for incremental_resolved_ast_generator.
...
The use of a two-layer map will dovetail well with changes I have
planned for the AnalysisDriver.
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2665043003 .
2017-01-31 13:34:55 -08:00
Ben Konyi
b00df4d4ac
Modified service to include current native zone memory consumption information in the VM object. Added a field to display this new information on the main page of the Observatory.
...
BUG=
R=johnmccutchan@google.com
Review-Url: https://codereview.chromium.org/2657283004 .
2017-01-31 13:26:01 -08:00
Brian Wilkerson
aad0e850a2
Revert "First step toward resolving generic function types" (TBR)
...
Review-Url: https://codereview.chromium.org/2660403005 .
2017-01-31 13:10:12 -08:00
Brian Wilkerson
d8129ae0c9
Add a channel to communication with server
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2666143002 .
2017-01-31 13:07:22 -08:00
Konstantin Shcheglov
8835fe34fd
The file is a library, if it has a 'library' directive.
...
With these changes analyzer_cli with the new analysis driver can pass
the same shared tests as the AnalysisContext based analyzer_cli.
R=brianwilkerson@google.com
BUG=
Review-Url: https://codereview.chromium.org/2662363002 .
2017-01-31 13:06:55 -08:00
Konstantin Shcheglov
678021c7cf
Fix SDK partitions leak in tests.
...
R=brianwilkerson@google.com
BUG=
Review-Url: https://codereview.chromium.org/2668103002 .
2017-01-31 13:04:13 -08:00
Brian Wilkerson
95c777fe7e
Add the generator and the generated files
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2664213003 .
2017-01-31 12:36:17 -08:00
Paul Berry
acf5b16a5f
Isolate the part of AnalysisDriver that manages the AnalysisContext.
...
I re-used the existing class _LibraryContext, but moved it to its own
file and gave it a public API so that the rest of the AnalysisDriver
doesn't have to deal with the AnalysisContext directly.
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2661023005 .
2017-01-31 12:33:45 -08:00
William Hesse
0e6eed24c5
Update dart2js status for co19 roll
...
BUG=https://github.com/dart-lang/co19/issues/87
BUG=https://github.com/dart-lang/co19/issues/88
Review-Url: https://codereview.chromium.org/2662113004 .
2017-01-31 21:31:49 +01:00
Vijay Menon
5dffba506e
Use bleeding edge analyzer to analyze DDC
...
Note, we were getting this from building the SDK from scratch, but we
can just call it directly. :-)
Travis try-run here:
https://travis-ci.org/dart-lang/sdk/builds/197045751
R=jmesserly@google.com
Review-Url: https://codereview.chromium.org/2669623002 .
2017-01-31 12:05:37 -08:00
Todd Turnidge
bbc2ac93a3
Start adding vm/cc tests for rewind functionality.
...
These will make it easier to debug rewind on simdbc64.
BUG=
R=rmacnak@google.com
Review-Url: https://codereview.chromium.org/2662333002 .
2017-01-31 12:02:26 -08:00
Brian Wilkerson
bfdc9139b9
Fix the bots by updating the analyzer status file (TBR)
...
Review-Url: https://codereview.chromium.org/2668613003 .
2017-01-31 11:46:54 -08:00
Konstantin Shcheglov
c55185d9d7
Fix for PartDirective annotations while applying resynthesized element model.
...
R=brianwilkerson@google.com
BUG=
Review-Url: https://codereview.chromium.org/2662173004 .
2017-01-31 11:45:03 -08:00
Todd Turnidge
bcb7cfa79e
Better reporting of ambiguous and "not found" commands in Obs debugger.
...
Add a missing space in another random file.
BUG=
R=rmacnak@google.com
Review-Url: https://codereview.chromium.org/2552783003 .
2017-01-31 11:31:31 -08:00
Konstantin Shcheglov
c74771b43d
Don't resolve FieldFormalParameter field if not in constructor.
...
R=brianwilkerson@google.com
BUG=
Review-Url: https://codereview.chromium.org/2663063004 .
2017-01-31 11:16:16 -08:00
Vijay Menon
c88a17ff55
Some test cleanup
...
These tests occasionally time out on travis. uri_test as well, but
there are two tests with that name, so I added code to disambiguate in
the logs.
R=jmesserly@google.com
Review-Url: https://codereview.chromium.org/2666593002 .
2017-01-31 10:23:26 -08:00
Regis Crelier
ca14f632c8
Gardening: disable timing out tests.
...
Review-Url: https://codereview.chromium.org/2661123004 .
2017-01-31 10:21:45 -08:00
Sergey G. Grekhov
2a73c6427d
DEPS ans status files updated to the last co19 commit ( #28486 )
...
co19 updated to version 4af9ef149be554216c5bb16cbac8e50d4c28cdf1
2017-01-31 10:12:58 -08:00
Vijay Menon
d5e5feb686
Shut up bad analyzer warning
...
This is a workaround for #28507
TBR=leafp@google.com
Review-Url: https://codereview.chromium.org/2667753003 .
2017-01-31 10:08:47 -08:00
William Hesse
ce559617b9
Update status for co19 tests on linux firefox 51.
...
BUG=
R=fschneider@google.com
Review-Url: https://codereview.chromium.org/2661063004 .
2017-01-31 19:07:21 +01:00
Brian Wilkerson
0737b3d2be
First step toward resolving generic function types
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2654653003 .
2017-01-31 09:56:28 -08:00
Ryan Macnak
9eb216a495
Reapply "Create an app snapshot of the Dart front end."
...
Skip training on Windows, issue #28532 .
R=hausner@google.com
Review-Url: https://codereview.chromium.org/2665753002 .
2017-01-31 09:47:51 -08:00
Konstantin Shcheglov
b8aca22c6a
Issue 28550. Fix for resynthesizing invalid elements as declared types.
...
R=paulberry@google.com
BUG= https://github.com/dart-lang/sdk/issues/28550
Review-Url: https://codereview.chromium.org/2665013002 .
2017-01-31 09:26:31 -08:00
Vyacheslav Egorov
a7ffe24177
VM: [Kernel] Switch to DFE for testing -c dartk configuration.
...
R=kustermann@google.com
Review-Url: https://codereview.chromium.org/2668503003 .
2017-01-31 18:25:02 +01:00
Konstantin Shcheglov
2a10f4bbb7
Don't resynthesize field types during class members resynthesis.
...
Invalid code might cause recursion and stack overflow.
And actually we might not need this type at all.
R=paulberry@google.com
BUG=
Review-Url: https://codereview.chromium.org/2661123002 .
2017-01-31 08:28:43 -08:00
Brian Wilkerson
fb5e367ca5
Update server generator
...
R=scheglov@google.com
Review-Url: https://codereview.chromium.org/2668733002 .
2017-01-31 08:26:10 -08:00
Peter von der Ahé
35d4cccd05
Remove dart2js_incremental.
...
Review-Url: https://codereview.chromium.org/2667793003 .
2017-01-31 16:32:06 +01:00
Konstantin Shcheglov
6595c05864
Actually limit number of stored exception contexts.
...
R=brianwilkerson@google.com
BUG=
Review-Url: https://codereview.chromium.org/2666003002 .
2017-01-31 07:10:39 -08:00
danrubel
663f2dc5d6
workaround failing windows test
...
Review-Url: https://codereview.chromium.org/2669513003 .
2017-01-31 09:25:15 -05:00
danrubel
da3c566869
workaround failing windows test
...
Review-Url: https://codereview.chromium.org/2662123003 .
2017-01-31 09:17:12 -05:00
Erik Corry
b4a122a89c
Cleaner version of IA32 stub optimization
...
R=vegorov@google.com
BUG=
Review-Url: https://codereview.chromium.org/2660923002 .
2017-01-31 13:18:01 +01:00
Conor Reisman
80066aa2d6
Fix typo in StreamSink.close documentation ( #28572 )
...
provding -> providing.
2017-01-31 04:11:38 -08:00
Martin Kustermann
fc2458b842
VM: [Kernel] Partial support for checked mode.
...
R=vegorov@google.com
Review-Url: https://codereview.chromium.org/2659363003 .
2017-01-31 12:10:46 +01:00
Jens Johansen
e7766c950e
Debugging in kernel shaping up.
...
This introduces
- a list of valid token positions, so debugging actually
starts to work, and the observatory can be loaded without crash.
- a list of valid yield positions, so stepping over await stuff
works as expected.
- Adding "DebugStepCheckInstr" to the kernel generated il so stepping
over await stuff works as expected, we can break in empty methods etc.
With this, approximately 80% of the service tests pass in kernel mode.
R=kmillikin@google.com
Committed: 2d5147be9d
Review-Url: https://codereview.chromium.org/2632183002 .
2017-01-31 11:59:06 +01:00
Jens Johansen
d0e0ef52ef
Revert "Debugging in kernel shaping up."
...
This reverts commit 2d5147be9d
.
INTPTR_MAX doesn't exist on all builders.
BUG=
R=kmillikin@google.com
Review-Url: https://codereview.chromium.org/2664143002 .
2017-01-31 11:26:46 +01:00
Vyacheslav Egorov
c47aa1f1cc
IO: Fix FileSystemEntity.get:parent comment.
...
It claimed that `dir.parent` returns `dir` if `dir` is a root directory.
However in reality it always returned a new directory object.
R=kustermann@google.com
Review-Url: https://codereview.chromium.org/2668653002 .
2017-01-31 11:23:56 +01:00
Peter von der Ahé
819182a4c5
Don't ignore analyzer and dart2js when analyzing fasta.
...
R=johnniwinther@google.com
Review-Url: https://codereview.chromium.org/2646363004 .
# Conflicts:
# pkg/fasta/testing.json
2017-01-31 11:17:29 +01:00
Peter von der Ahé
011f616a58
Dynamic type error implies checked mode.
...
R=karlklose@google.com
Review-Url: https://codereview.chromium.org/2641833002 .
2017-01-31 11:16:04 +01:00
Peter von der Ahé
4570f34bc1
Implement custom status file expectations.
...
R=karlklose@google.com
Review-Url: https://codereview.chromium.org/2623413003 .
2017-01-31 11:16:04 +01:00
Peter von der Ahé
fc51d91e99
Add general method for comma separated options.
...
R=karlklose@google.com
Review-Url: https://codereview.chromium.org/2622383003 .
2017-01-31 11:16:04 +01:00
Peter von der Ahé
b33c057456
Implement multitest failure expectations.
...
R=karlklose@google.com
Review-Url: https://codereview.chromium.org/2627753005 .
2017-01-31 11:16:03 +01:00
Peter von der Ahé
a21bc26c0b
Implement multitest expectations.
...
R=karlklose@google.com
Review-Url: https://codereview.chromium.org/2626003003 .
2017-01-31 11:16:03 +01:00