Commit Graph

5559 Commits

Author SHA1 Message Date
Karl Klose a38cdb6004 Update test expectations for language/label_test on dartk
R=ahe@google.com

Review-Url: https://codereview.chromium.org/2745103002 .
2017-03-13 13:26:08 +01:00
Lasse R.H. Nielsen 5ae186153c Make Analyzer, VM and dart2js accept URI strings as part-of library identifier.
R=brianwilkerson@google.com, floitsch@google.com, hausner@google.com, johnniwinther@google.com, sigmund@google.com

Committed: https://github.com/dart-lang/sdk/commit/ef097edad6e5e4e82c3891ad2d8f9cde8fa8cfdc
Review-Url: https://codereview.chromium.org/2640853005 .
2017-03-13 08:31:40 +01:00
Erik Corry a259896d7d Disable await_for_test test on precompiled platform - see #28974
R=lrn@google.com
BUG=

Review-Url: https://codereview.chromium.org/2738353004 .
2017-03-10 15:03:05 +01:00
Peter von der Ahé 3464cfbb08 Error on part of self.
R=karlklose@google.com

Review-Url: https://codereview.chromium.org/2745583007 .
2017-03-10 14:25:47 +01:00
Peter von der Ahé 0342796463 Handle exports of invalid types.
R=karlklose@google.com

Review-Url: https://codereview.chromium.org/2738423002 .
2017-03-10 14:19:45 +01:00
Peter von der Ahé d1bdc9596d Improve detection of compile-time errors.
R=karlklose@google.com

Review-Url: https://codereview.chromium.org/2739213004 .
2017-03-10 14:14:49 +01:00
Peter von der Ahé a1c29b1fb3 Handle bad factory names correctly.
R=karlklose@google.com

Review-Url: https://codereview.chromium.org/2741753002 .
2017-03-10 09:07:14 +01:00
Peter von der Ahé 5b8d5a12f5 Deal with bad supertypes when installing default constructors.
R=karlklose@google.com

Review-Url: https://codereview.chromium.org/2745583002 .
2017-03-10 08:44:12 +01:00
Jens Johansen f8588ba47c [fasta] Add and correct more offsets
E.g. on

StringConcatenation
ListLiteral
MapLiteral
Throw
VariableDeclaration
break
continue
++i
i++

R=ahe@google.com

Review-Url: https://codereview.chromium.org/2743633003 .
2017-03-10 08:17:15 +01:00
Natalie Weizenbaum 333417951f Fix a status line for language/await_for_test. (#29008)
See #28974
2017-03-09 15:23:18 -08:00
Peter von der Ahé 46a616e814 Update status files.
R=whesse@google.com

Review-Url: https://codereview.chromium.org/2742553003 .
2017-03-09 16:26:48 +01:00
Lasse Reichstein Holst Nielsen 294ea61bec Update status file to account for yet another alias for the VM.
Review-Url: https://codereview.chromium.org/2742793002 .
2017-03-09 16:11:59 +01:00
Peter von der Ahé 00898fcade Don't crash on generic methods.
R=karlklose@google.com

Review-Url: https://codereview.chromium.org/2738613005 .
2017-03-09 14:49:05 +01:00
Peter von der Ahé c7b3f9ba98 Report a parse error when recovery fails.
R=karlklose@google.com

Review-Url: https://codereview.chromium.org/2739853003 .
2017-03-09 14:36:27 +01:00
Peter von der Ahé 3ed36f5c46 Install default constructors on broken mixin applications.
R=karlklose@google.com

Review-Url: https://codereview.chromium.org/2732293004 .
2017-03-09 13:12:34 +01:00
Peter von der Ahé 8608d1b436 Use correct types on cloned constructors in mixin applications.
R=karlklose@google.com

Review-Url: https://codereview.chromium.org/2736103004 .
2017-03-09 12:52:00 +01:00
Jens Johansen e553775b9c [fasta] Add and correct offsets on nodes
BUG=
R=ahe@google.com

Review-Url: https://codereview.chromium.org/2736093003 .
2017-03-09 10:31:52 +01:00
Lasse R.H. Nielsen 86d119e1ed Add test for cancel-future being awaited after an await for.
See http://dartbug.com/28974 (#28974)

R=floitsch@google.com

Committed: https://github.com/dart-lang/sdk/commit/74a8351fb6ccb6789c9195a4b4905d853090d4e7
Review-Url: https://codereview.chromium.org/2734143002 .
2017-03-09 09:50:09 +01:00
Alan Knight 1b96ec4857 Revert "Add test for cancel-future being awaited after an await for."
This reverts commit 74a8351fb6.

BUG=

Review URL: https://codereview.chromium.org/2739703002 .
2017-03-07 11:24:34 -08:00
Lasse R.H. Nielsen 74a8351fb6 Add test for cancel-future being awaited after an await for.
See http://dartbug.com/28974 (#28974)

R=floitsch@google.com

Review-Url: https://codereview.chromium.org/2734143002 .
2017-03-07 18:05:36 +01:00
Peter von der Ahé 2934dfaf16 Avoid crashing on function syntax.
R=karlklose@google.com

Review-Url: https://codereview.chromium.org/2730093002 .
2017-03-07 16:54:09 +01:00
Vyacheslav Egorov 7fe4c0991f Skip language/vm/closure_memory_retention_test on dartkp configuration.
The test is running out of memory.

TBR=kustermann@google.com

Review-Url: https://codereview.chromium.org/2731963002 .
2017-03-06 13:51:25 +01:00
Vyacheslav Egorov 005453346e Update Kernel dartkp mode statuses.
TBR=kustermann@google.com
BUG=

Review-Url: https://codereview.chromium.org/2732933003 .
2017-03-06 09:41:35 +01:00
Vyacheslav Egorov 021f933f69 VM: Make use_osr an Isolate flag, similar to how we made use_field_guards.
In Debug mode we have assertions checking that we don't attempt OSR when
FLAG_use_osr is disabled - however app-jit snapshots are compiled with OSR
enabled and still contain countining and OSR attempting code, which causes
assertions to fail.

Refactor how getters for isolate flags are defined, consolidate all flags into
a single list.

Update test expectations and switch -c dartk configuration to use app-jit snapshot.

BUG=
R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2728163002 .
2017-03-03 19:02:23 +01:00
Peter von der Ahé 3873b0fc83 Recover from bad supertypes.
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2729943003 .
2017-03-03 15:06:09 +01:00
Peter von der Ahé ff89087641 Recover correctly from this-parameter on non-constructors.
R=johnniwinther@google.com

Review-Url: https://codereview.chromium.org/2727313004 .
2017-03-03 12:40:30 +01:00
Peter von der Ahé 2af498fc84 Recover from missing arguments in new expression.
R=paulberry@google.com

Review-Url: https://codereview.chromium.org/2730763002 .
2017-03-03 10:31:19 +01:00
Peter von der Ahé 790df00dc6 Recover correctly from empty optional parameters.
R=paulberry@google.com

Review-Url: https://codereview.chromium.org/2725093003 .
2017-03-03 10:26:13 +01:00
Peter von der Ahé 628be2b36a Apply transformers and other work arounds to get boostrapping to work.
R=karlklose@google.com

Review-Url: https://codereview.chromium.org/2723173002 .
2017-03-02 14:31:58 +01:00
Jens Johansen a00f168dc1 Mark regress_22445_test as now passing
BUG=

Review-Url: https://codereview.chromium.org/2729573003 .
2017-03-02 13:27:01 +01:00
Peter von der Ahé 501c0e7c45 Clean up language_kernel.status.
R=kmillikin@google.com, vegorov@google.com

Review-Url: https://codereview.chromium.org/2730453003 .
2017-03-02 11:59:13 +01:00
Martin Kustermann e9bc952bcd Update tests/language/vm/causal_async_exception_stack_test
Review-Url: https://codereview.chromium.org/2732433002 .
2017-03-02 11:46:00 +01:00
Jens Johansen 89b68e905b Set dartAsyncMarker the same as asyncMarker unless explicitly set
R=kmillikin@google.com

Review-Url: https://codereview.chromium.org/2728683005 .
2017-03-02 11:13:38 +01:00
Dmitry Stefantsov 9c340f9eb1 Revert last 4 commits by @lrn
Reverted commits:
* ef097edad6. ("Make Analyzer, VM and
  dart2js accept URI strings as part-of library identifier.")
* e8e1857814. ("Fix bad example of URI
  part-of to be bad, not good.")
* 58f7a92ede. ("Add changelog entry for
  allowing URI in part-of.")
* a4a7d98dce. ("Use FutureOr in
  Completer.complete.")

TBR=lrn@google.com

Review-Url: https://codereview.chromium.org/2724853002 .
2017-03-01 16:44:52 +01:00
Lasse R.H. Nielsen ef097edad6 Make Analyzer, VM and dart2js accept URI strings as part-of library identifier.
R=brianwilkerson@google.com, floitsch@google.com, hausner@google.com, johnniwinther@google.com, sigmund@google.com

Review-Url: https://codereview.chromium.org/2640853005 .
2017-03-01 12:15:11 +01:00
Kevin Millikin 8166deb009 Mark vm/lazy_deopt_vm_test as slow
BUG=
R=kmillikin@google.com

Review-Url: https://codereview.chromium.org/2722113002 .
2017-03-01 11:27:48 +01:00
Vyacheslav Egorov 8e267b29c1 Update status files for debug mode dartk/dartkp.
R=kustermann@google.com
BUG=

Review-Url: https://codereview.chromium.org/2722103002 .
2017-03-01 10:31:42 +01:00
Asger Feldthaus 3a7529a363 Remove status file sections for the CPS IR.
BUG=
R=kmillikin@google.com

Committed: https://github.com/dart-lang/sdk/commit/2d6c90a6b3d6d1be5095e12a0a633305e1d5db2a
Review-Url: https://codereview.chromium.org/2720513006 .
2017-02-28 17:11:19 +01:00
Asger Feldthaus e7b9672b3e Revert "Remove status file sections for the CPS IR."
This reverts commit 2d6c90a6b3.

BUG=

Review-Url: https://codereview.chromium.org/2720283002 .
2017-02-28 17:08:04 +01:00
Peter von der Ahé 2e0e3b918f Always provide a field for context.
R=karlklose@google.com

Review-Url: https://codereview.chromium.org/2723513002 .
2017-02-28 16:49:19 +01:00
Jens Johansen 773e90869c [Fasta] Save parent in TypeDeclarationBuilder
I get errors with library parent not set for some tests
(e.g. service tests). This fixes that.

BUG=
R=ahe@google.com

Review-Url: https://codereview.chromium.org/2726533002 .
2017-02-28 15:02:21 +01:00
Asger Feldthaus 2d6c90a6b3 Remove status file sections for the CPS IR.
BUG=
R=kmillikin@google.com

Review-Url: https://codereview.chromium.org/2720513006 .
2017-02-28 14:40:06 +01:00
Kevin Millikin b31e24f33a Update a test expectation.
A pair of tests that were crashing the front end are now passing.

BUG=
R=kustermann@google.com

Review-Url: https://codereview.chromium.org/2718203003 .
2017-02-28 13:03:54 +01:00
Martin Kustermann ce5906145d Status file update after analyzer->fasta dartk switch
R=vegorov@google.com

Review-Url: https://codereview.chromium.org/2721573002 .
2017-02-27 12:45:02 +01:00
Vyacheslav Egorov de56824429 Switch -c dartk/dartkp configuration to use fasta.
R=kustermann@google.com
BUG=

Review-Url: https://codereview.chromium.org/2721443002 .
2017-02-26 20:39:02 +01:00
Ben Konyi 68a102cab2 Fixed tests not having MallocHooks initialized for tests in release mode.
Revert "Revert "Fixed issue in MallocHooks where a MallocHookScope was accidentally removed during a merge, causing a deadlock in the hooks. Also turned off stack trace collection in a test that was timing out as a result of the stack trace collection.""

This reverts commit 1a5b555aa9.

BUG=
R=zra@google.com

Review-Url: https://codereview.chromium.org/2711353003 .
2017-02-24 13:56:06 -08:00
Florian Schneider 864166a758 Fix VM crash when parsing a non-existing redirecting constructor
Fixes #28217.

R=rmacnak@google.com

Review-Url: https://codereview.chromium.org/2710363002 .
2017-02-24 10:26:31 -08:00
Florian Loitsch d0dc7be4a1 Use a confuse function.
Review-Url: https://codereview.chromium.org/2712603006 .
2017-02-24 13:35:20 +01:00
Jens Johansen 26b6ecdf63 Enable causal stacktrace in kernel
R=kmillikin@google.com, kustermann@google.com

Committed: https://github.com/dart-lang/sdk/commit/b29829660bcdee7eb394e6fd4635ff7a6a77ef01
Review-Url: https://codereview.chromium.org/2690873005 .
2017-02-24 12:11:30 +01:00
Ben Konyi 1a5b555aa9 Revert "Fixed issue in MallocHooks where a MallocHookScope was accidentally removed during a merge, causing a deadlock in the hooks. Also turned off stack trace collection in a test that was timing out as a result of the stack trace collection."
This reverts commit 44a9a4ede3.

BUG=

Review-Url: https://codereview.chromium.org/2714083002 .
2017-02-23 19:21:00 -08:00