Commit graph

81948 commits

Author SHA1 Message Date
Ben Konyi dc58616486 [ Timeline ] Don't try to log async timeline events when Dart stream is
disabled

Related to https://github.com/flutter/flutter/issues/90061

Change-Id: Ic59cf60fe7d861109647be1a6c193fd4b63a211d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213780
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2021-09-17 18:49:21 +00:00
Stephen Adams 70af0e4c57 [dart2js] Modernize allocations in ssa/
Also:

- fix order of arguments to HBoundsCheck

Change-Id: I4dbcca67dd89f3048a22315d8db2fa862d810774
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213620
Reviewed-by: Mayank Patke <fishythefish@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2021-09-17 18:47:31 +00:00
Paul Berry 81dda21cd4 Don't supply arguments when reporting IMPORT_DEFERRED_LIBRARY_WITH_LOAD_FUNCTION.
This hint message doesn't take any arguments.

Change-Id: Idc2546901b3dcbbbb45356628028f1ac08d71c7b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213730
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2021-09-17 16:45:51 +00:00
Paul Berry a9873f195f Fix error message text for INVALID_MODIFIER_ON_SETTER.
This error message was previously reported by the analyzer's parser,
which presumably supplied an argument describing the modifier.  It is
now reported by the shared parser, which doesn't supply any additional
information.  As a result, the error message was showing up for the
user as "The modifier '{0}' can't be applied to the body of a setter."
(with a literal `{0}` visible to the user).

Changed the error message text to match what the CFE reports.  There's
no real need for the message to describe the modifier since the error
message location is the modifier itself.

Change-Id: I538d49c1b693fe6cfb190f584bb5c9ab5cd3cf39
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213732
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2021-09-17 16:38:39 +00:00
Paul Berry 86b74f399c Don't supply arguments when reporting DUPLICATE_{HIDDEN,SHOWN}_NAME.
These error messages don't take any arguments.

Change-Id: I1818dea02801b3f14f2db0c74841071d8457365a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213728
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2021-09-17 16:37:49 +00:00
Paul Berry 166fa48fed Don't supply arguments when reporting INVALID_ANNOTATION_CONSTANT_VALUE_FROM_DEFERRED_LIBRARY.
This error message doesn't take any arguments.

Change-Id: I12cfe2a079eb3c6f81976e1ce451ce6ab6d0c47a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213731
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2021-09-17 16:17:51 +00:00
Sam Rawlins cf143bb60b Re-enable the unnecessary_imports check
Bug: https://github.com/flutter/flutter/issues/82844
Change-Id: Iaf7017578177952b4871e340b057c442be01bfd6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/200540
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2021-09-17 16:11:29 +00:00
Danny Tuppeny b68ccc9a39 [dartdev] Add a "dart debug_adapter" command to run the DAP server from DDS
Change-Id: Icf4442929f848f7f927e84c999f09206e3fd0704
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213640
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2021-09-17 16:09:49 +00:00
Paul Berry 5844340c73 Don't try to supply arguments to GENERIC_FUNCTION_TYPE_CANNOT_BE_BOUND error.
The error message text is:
    Generic function types can't be used as type parameter bounds
And the correction message is:
    Try making the free variable in the function type part of the
    larger declaration signature

There are no placeholders in these messages to accept arguments, and
there's really no need for any (since the location of the error is the
offending type), so just remove the argument.

Change-Id: I0ea653d7085782f924c63fbdb0e19ac66f04808a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213700
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2021-09-17 15:56:53 +00:00
Paul Berry eead1f7f5c Don't supply arguments when reporting CONST_DEFERRED_CLASS.
This error message doesn't take any arguments.

Change-Id: I5ff2e43c6d6877189ad8cf7cefded72b4867a309
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213727
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2021-09-17 15:50:51 +00:00
Paul Berry f8b1161496 Fix error_processor_test.dart's use of USE_OF_VOID_RESULT.
The message for this error code doesn't accept any arguments, so
there's no reason for the test to provide any.

Change-Id: I6306cead7865704c9074dd0dc2a1bc1aacaeda16
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213724
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2021-09-17 15:48:51 +00:00
Paul Berry 6f86375f9c Fix error message arguments supplied by TypePropertyResolver.resolve.
Some of the error messages reported by TypePropertyResolver.resolve
require arguments, others don't; this change ensures that we pass
arguments only when they're needed.  This should pave the way for
adding assertions to make sure the proper number of arguments are
supplied when instantiating an error message.

Change-Id: Ic94a4ff7ee2f7845a693b91f8a9231570e0cf4c6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213723
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2021-09-17 15:42:49 +00:00
Paul Berry eb7830a22d Fix error reporting in ResolutionVisitor._resolveType.
None of the error codes passed to this method require arguments, so if
this method reports an error, it shouldn't supply any arguments.

Change-Id: Iadcf2652bd46420944cbdffcc2e69415c07f00fc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213725
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2021-09-17 15:40:49 +00:00
Sam Rawlins 1ba97ac74c Remove unnecessary import in analyzer
Change-Id: Ic029cf3c823f0b226d41e75513f28632bde52194
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213729
Auto-Submit: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2021-09-17 14:52:02 +00:00
Paul Berry 3b7fa6dab3 In NullableDereferenceVerifier, do not supply arguments when reporting INVALID_USE_OF_NULL_VALUE.
INVALID_USE_OF_NULL_VALUE doesn't take any arguments, so we shouldn't
supply any.

Change-Id: I2b78277d754a5d009800927a50cff20c771c162f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213726
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2021-09-17 14:50:39 +00:00
Ben Konyi 58c58af3e8 [ VM ] Properly shutdown non-core system isolates when cleaning up the
VM

Speculative fix for https://github.com/dart-lang/sdk/issues/45771

TEST=CQ + vm/cc tests

Change-Id: I3f05d78666ee78afca5af6047df96d7841cd1e02
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213561
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2021-09-17 13:45:49 +00:00
Jens Johansen 211ad9acb1 [CFE] Don't mark procedures as async when not using await
This CL removes async markers where await wasn't used.

In a few cases this also meant the ability to make the procedure not
return a future at all.

Also - at least on the VM with my benchmark run on my PC - returning
new Future.value(whatever) in a non-async procedure is faster than
returning whatever in an async procedure.

TEST=CI and existing tests.

Change-Id: I4ba888313c87de76bb0ca02c19eb1ab45f168a85
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213480
Commit-Queue: Jens Johansen <jensj@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-09-17 11:56:29 +00:00
Paul Berry af18bfacc1 Fix analyzerCode corresponding to CFE error ConstructorWithTypeArguments.
Previously we had identified this error with the analyzer error code
CompileTimeErrorCode.WRONG_NUMBER_OF_TYPE_ARGUMENTS_CONSTRUCTOR, but
they're not the same error at all.  As a result, code like this:

    var x = new a.b.c<C>();

would lead to the bogus analyzer error text "The constructor '{0}.{1}'
doesn't have type parameters." (with the placeholders "{0}" and "{1}"
visible to the user).

With this change, the error text is the same as that from the CFE: "A
constructor invocation can't have type arguments after the constructor
name."

Change-Id: Ib69d1ff8f7089e59b71d2dcd9a8ec51edffd94dc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213621
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Paul Berry <paulberry@google.com>
2021-09-17 10:48:59 +00:00
Ryan Macnak 78b9f54957 [vm] Fix initialization of Contexts in object graph copy's fast-path bailout.
Cf. 179c96cd60.

TEST=ci
Bug: https://github.com/dart-lang/sdk/issues/47235
Change-Id: I9f6aef564286f6b239d697072ed5405085269add
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213681
Reviewed-by: Liam Appelbe <liama@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2021-09-16 22:17:24 +00:00
asiva 775df25714 [VM/tests] - Skip top_level_method test on simarm archs to see if it fixes the purple bots.
Change-Id: I47f52965a75e42fbeee08b105389a83ff02c90af
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213528
Commit-Queue: Siva Annamalai <asiva@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
2021-09-16 20:56:05 +00:00
Ben Konyi 123950ffa9 [ CLI / VM ] Add support for disabling DDS
Allows for tooling (e.g., DAP) to spawn their own DDS instance without
having to disable the CLI.

Fixes https://github.com/dart-lang/sdk/issues/47059

TEST=pkg/dartdev/test/commands/run_test.dart

Change-Id: Ie9a4832d424edae67f32560399d3b0a6ca9f1dc0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213660
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2021-09-16 20:31:45 +00:00
Sam Rawlins 797bfe5bb0 analyzer: Support type instantiation of 'call' tearoff of function
Fixes https://github.com/dart-lang/sdk/issues/47212

Change-Id: Id4d5fc47e2e3ae1ef9949a698ba22c697f9e4b14
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213539
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2021-09-16 19:45:45 +00:00
Ryan Macnak d30a43d464 [vm] Allow for long jumps during reusable handle scopes.
Such long jumps may occur due to Out Of Memory exceptions.

TEST=run test harness with low heap limit
Change-Id: Ifc8d062d4325ea3cdb4ea1f1ad1877f2dc83229e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213534
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2021-09-16 19:40:05 +00:00
Joshua Litt a2d1fa1a33 [dart2js] Support serialization with supplied indices.
Change-Id: I830d084f59281b9dff81f33b72002d709f35c16c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/212344
Commit-Queue: Joshua Litt <joshualitt@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-09-16 19:33:55 +00:00
Sam Rawlins 1f66977de1 Use static strings from FunctionElement where possible
This improves discovery, refactoring, etc.

I did not change any locations which would have required interpolation,
or tests which refer to a String immediately nearby (in tests).

Change-Id: I8479fd7822713e878e56fdf5ec35969492049333
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213580
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
2021-09-16 19:05:55 +00:00
Ryan Macnak e7201752dc [vm, gc] Fix double-free when we hit Out Of Memory.
TryReleaseReservation could insert an element into the freelist before the concurrent sweeper visited that page it was on.

TEST=run test harness with low heap limit
Change-Id: I482c820756ea3dbfe6d16c8bdef998e843c576dd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213536
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2021-09-16 18:27:35 +00:00
Alexander Markov 7cd65a7a0c [gardening] Skip vm/dart_2/v8_snapshot_profile_writer_test on tsan bot
This test was flaky and started timing out consistently on
vm-kernel-precomp-tsan-linux-release-x64 bot.
It times out even if marked 'Pass, Slow' in status file.

Change-Id: Id3af3fafd0939e61b5efd3adcedc966548ac8bb0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213623
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2021-09-16 18:09:35 +00:00
Sam Rawlins 5a4921bd76 Remove unnecessary import from compiler
Bug: https://github.com/dart-lang/sdk/issues/44569
Change-Id: I98e103a1af11794927fc1fe6794e69ec655debf6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213424
Auto-Submit: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Mayank Patke <fishythefish@google.com>
Reviewed-by: Mayank Patke <fishythefish@google.com>
2021-09-16 18:03:15 +00:00
Ryan Macnak 790d0b601c [vm] Account for Out Of Memory during isolate message deserialization.
TEST=run test harness with low heap limit
Change-Id: I75d3b2e8461bcf99cc41eb3ad76173bc1976bbd9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213538
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2021-09-16 17:18:37 +00:00
Ryan Macnak 5110d828d0 [vm] Fix error notification when unable to print the stacktrace.
TEST=run test harness with low heap limit
Change-Id: I8084c50c3aab1c0cbfa32bbcc5df100abe4211bc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213537
Reviewed-by: Alexander Aprelev <aam@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2021-09-16 17:13:35 +00:00
Brian Wilkerson 9605ca2980 Fix an inconsistency in terminolgy in the documentation
Change-Id: If3e7d74af72c4d3c4e533d2c3dcd880c4f2b5bf1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213622
Auto-Submit: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
2021-09-16 17:10:35 +00:00
Ben Konyi be58178acf [ VM ] Skip breakpoint_on_simple_conditions_test on AOT configurations
TEST=N/A

Change-Id: I326d4373d19549c88cb4e257a9d2638d062c7593
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213562
Reviewed-by: Ben Konyi <bkonyi@google.com>
2021-09-16 17:00:27 +00:00
Ben Konyi c51f885613 [ Debugger ] Allow for setting breakpoints on conditional statements
with simple boolean conditions

Fixes https://github.com/flutter/devtools/issues/3289

TEST=runtime/observatory/tests/service/breakpoint_on_simple_conditions_test.dart

Change-Id: I5ed0b78b4e462615d0d0c7dff1581b38dcf00aee
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213421
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2021-09-16 16:12:17 +00:00
Chloe Stefantsova 78266c3464 [cfe] Account for setter/getter access in extension type resolution
Change-Id: Ib35625e39b6f8e741bbc4a16a01851c6d0582213
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213346
Commit-Queue: Chloe Stefantsova <dmitryas@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-09-16 16:07:55 +00:00
Alexander Markov 15b499b8b2 [vm] Allow Symbol constants _foo without a library
Since Symbol constructor started accepting arbitrary string as argument
(https://github.com/dart-lang/sdk/issues/46207), front-end can generate
Symbol constants with names starting with '_' but without a library.

TEST=language/vm/symbols_test
TEST=corelib/symbol_test

Fixes https://github.com/dart-lang/sdk/issues/46523
Fixes https://github.com/dart-lang/sdk/issues/46396

Change-Id: Ic416122785444a59bf6b469d2b42491f62810258
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213535
Reviewed-by: Jens Johansen <jensj@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Commit-Queue: Alexander Markov <alexmarkov@google.com>
2021-09-16 15:56:24 +00:00
Chloe Stefantsova cafa530277 [cfe] Add simple resolution rules for shown and hidden members
Change-Id: Ie3abc7201fcfc87940e10c577246f1585328c7ed
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213500
Commit-Queue: Chloe Stefantsova <dmitryas@google.com>
Reviewed-by: Johnni Winther <johnniwinther@google.com>
2021-09-16 14:40:55 +00:00
Ben Konyi 4759cd95da [ Profiler ] Add safepoint checks in profiler code to improve sample
streaming performance

TEST=CI

Change-Id: Iae536901a41f4b34207e022ec1e6321cfc2d74b1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213380
Commit-Queue: Ben Konyi <bkonyi@google.com>
Reviewed-by: Ryan Macnak <rmacnak@google.com>
2021-09-16 13:58:45 +00:00
Johnni Winther 4aa6373724 [cfe] Avoid looking up unneeded operator == for EqualsNull node
Closes #47223

Change-Id: I8ad80c38ed1454a0c6e8088e98cd6db5d7d19930
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213540
Reviewed-by: Chloe Stefantsova <dmitryas@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-09-16 10:11:55 +00:00
Johnni Winther 70730ad62f [cfe] Avoid stack overflow on getter/field invocation
Change-Id: Id627378c289708c8bf7fe551ad9b6c512aafe226
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213501
Reviewed-by: Jens Johansen <jensj@google.com>
Commit-Queue: Johnni Winther <johnniwinther@google.com>
2021-09-16 07:16:44 +00:00
Konstantin Shcheglov c4f4e80fe9 Report HintCode.UNNECESSARY_TYPE_CHECK_TRUE for null safe code.
In legacy code `int v` was implicitly `int|Null v`, so `v is int` could
be useful (although probably should be `v != null` then). In null safe
code, we cannot have `Null`, so we can report a hint.

Change-Id: I60dc0791c6b8346d924fd13b1d2ce3fcceb22d32
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/190360
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
2021-09-16 06:43:07 +00:00
Stephen Adams 63f21ac34c [dart2js] dart format --fix in ssa/
Purely mechanical CL.

Change-Id: I9515670150f3c99b531128e1e3ca71924f2900e4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213530
Reviewed-by: Mayank Patke <fishythefish@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2021-09-16 04:01:35 +00:00
Ryan Macnak d89e42bef5 [vm] Rename clustered_snapshot.h/cc to app_snapshot.h/cc.
Since bbefc05748, both serialization formats in the VM are based on clustering. The distinguishing feature of the older clustered serializer is that it represents apps/programs rather than messages.

TEST=ci
Change-Id: If3185c21c6aadeec61a940b12ba23d17f2752761
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/211501
Commit-Queue: Ryan Macnak <rmacnak@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2021-09-16 00:13:34 +00:00
Konstantin Shcheglov 3409b2a0e8 Remove 'featureSet' from TestAnalysisContext.
Change-Id: Ide3eb73562aa70b0daf82d12f66f2001b7a3c735
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213533
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2021-09-15 23:20:05 +00:00
Konstantin Shcheglov 532214b033 Let a part have its own LibraryCycle if requested.
Change-Id: Ic724342040f951cfc670a6daa3e6be08e33d2fc2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213531
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2021-09-15 22:55:06 +00:00
Konstantin Shcheglov 7015c192ab Use ResourceProviderMixin in AnalysisOptionsProviderTest.
Change-Id: I2c92ec2f8359c9414c26e146d45bb1dd084df98b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213532
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2021-09-15 22:51:33 +00:00
Sushant Chandla 2eb37e56ca Api Docs[core/int.dart]
The unsigned right shift was [implemented](https://github.com/dart-lang/language/issues/478#issuecomment-889181121)

Closes https://github.com/dart-lang/sdk/pull/47227
https://github.com/dart-lang/sdk/pull/47227

GitOrigin-RevId: ec84d6886204a05906c11b6b1ebab023b8b33e38
Change-Id: Iafc195c8df212c8f78330f6ebef230daa6a6d280
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213560
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
2021-09-15 22:47:04 +00:00
Ryan Macnak 179c96cd60 [vm] Switch Context to compressed pointers.
TEST=ci
Change-Id: I2511dcc9234dbe29dcbc3abf3db7a8a080dc5436
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213112
Reviewed-by: Liam Appelbe <liama@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
2021-09-15 22:32:04 +00:00
Konstantin Shcheglov 703dad5685 Compute importedFiles/exportedFiles/partedFiles in more null safe manner.
Change-Id: If36e24114525e209dd6ce8dc2c4200e9d372ee1e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213529
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2021-09-15 22:30:24 +00:00
Konstantin Shcheglov 2f75d18626 Prepare to publish analyzer 2.3.0 and _fe_analyzer_shared 26.0.0
Change-Id: I77350acbf48b58cb19e444628643c6743e806eb9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213285
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
2021-09-15 22:23:34 +00:00
Alexander Aprelev ad3b6293f8 [vm/gardening] Reference .pem-files from the test so they are available for the test runs.
This is follow-up to https://dart.googlesource.com/sdk/+/2917c1cb8fad834b94ad113e4eb3806588049ab6.

Fixes https://github.com/dart-lang/sdk/issues/47228

Change-Id: Ieab874ad53e9e097ddae6e82fa2d1c5a84be125f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/213524
Reviewed-by: Siva Annamalai <asiva@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
2021-09-15 22:08:54 +00:00