Skip to content

Commit d90223f

Browse files
authored
Roll Dart to version 1be785ae2ddb1754a184cd638ab719e94d86b4e9 (flutter#5985)
* Roll Dart to version 1be785ae2ddb1754a184cd638ab719e94d86b4e9 This rolls includes the following changes : 1be785ae2d Clean up some dead code 7b9fb893d2 [vm] Add a service method for 'invoke' as the dual to 'eval'. 099f1504fa Mention -O flag in CHANGELOG 79f69abace [vm/compiler] breakage fix: add missing break 96a1e9985f Fix the pkg bot 7818db20a7 Add analysis hint for invalid use of @visibleForTemplate code. 71d96019d1 [vm/compiler] Introduce 64-bit NEGATE - all archs. 5013a2ccc4 Remove spurious line. ef2f777625 Mark some analyzer tests as being flaky cf560fe17b Fix a couple of the tests failing on the analyzer with fasta parser bot 63c11693e6 [gardening] Fix language_2/type_variable_promotion_test. d0f28884ff [VM] Fix expression evaluation implementation: Never register temporary/unused classes with the system. e2a1807fc2 [gardening] Update status for io/compile_all_test in PRODUCT AOT mode f7ff739448 Insert date of 2.0.0 release in Changelog bcabad6014 [vm] Fix SIMARM64 build on Windows. af02ccae83 [infra] Fix filesets for new vm-kernel-precomp builders 8e2f28e264 Update homebrew to drop the @2 tab and fix for 2.0 ba119d7292 [VM] Remove "$compiler == precompiler" sections from language_2_precompiler.status f3a2c0e28f [release] Prepare changelog for 2.1.0-dev.0.0 88cba7d860 [vm/kernel/bytecode] Fix arguments descriptor for List._fromLiteral call in bytecode bd45ec0c4b [vm, gc] Refactor PageSpace::CollectGarbage to ensure the safepoint and task count remain well-scoped even with early exits. 8195fd8c64 Repair dart2js/string_interpolation_test a0b335ac6c Try no implicit casts in pkg/analyzer_cli. 3d25d3761b Update pub - leave packages directories alone 327db5e9ab [vm] Fix kernel_isolate use_field_guard flag for kbc a1ca88f554 Resolve invocation arguments to parameters. * Address source format error.
1 parent e54bc4e commit d90223f

4 files changed

Lines changed: 8 additions & 7 deletions

File tree

DEPS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ vars = {
3131
# Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS.
3232
# You can use //tools/dart/create_updated_flutter_deps.py to produce
3333
# updated revision list of existing dependencies.
34-
'dart_revision': 'eab492385c3f345cb2f44f3b702b0e30e4a9c107',
34+
'dart_revision': '1be785ae2ddb1754a184cd638ab719e94d86b4e9',
3535

3636
'dart_args_tag': '1.4.4',
3737
'dart_async_tag': '2.0.8',
@@ -73,7 +73,7 @@ vars = {
7373
'dart_plugin_tag': 'f5b4b0e32d1406d62daccea030ba6457d14b1c47',
7474
'dart_pool_tag': '1.3.6',
7575
'dart_protobuf_tag': '0.9.0',
76-
'dart_pub_rev': '58fe996eab8d54f28f5109c407ff0ab62fbd835d',
76+
'dart_pub_rev': '5962908a66e814dd78f6856a4e5f792c6db65fbc',
7777
'dart_pub_semver_tag': '1.4.2',
7878
'dart_quiver_tag': '0.29.0+2',
7979
'dart_resource_rev': '2.1.5',

ci/licenses_golden/licenses_third_party

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Signature: e451900a1345f7d287e1032e5a26dac9
1+
Signature: 350887638dbf5cdb4d0e1879ddb0cf33
22

33
UNUSED LICENSES:
44

@@ -5827,6 +5827,7 @@ FILE: ../../../third_party/dart/runtime/lib/stacktrace.dart
58275827
FILE: ../../../third_party/dart/runtime/lib/symbol_patch.dart
58285828
FILE: ../../../third_party/dart/runtime/lib/timer_impl.dart
58295829
FILE: ../../../third_party/dart/runtime/lib/typed_data.cc
5830+
FILE: ../../../third_party/dart/runtime/lib/typed_data_patch.dart
58305831
FILE: ../../../third_party/dart/runtime/lib/uri.cc
58315832
FILE: ../../../third_party/dart/runtime/lib/uri_patch.dart
58325833
FILE: ../../../third_party/dart/runtime/observatory/lib/src/app/application.dart

lib/ui/plugins/callback_cache.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ Dart_Handle DartCallbackCache::LookupDartClosure(
169169

170170
Dart_Handle closure;
171171
if (Dart_IsNull(cls_name)) {
172-
closure = Dart_GetClosure(library, closure_name);
172+
closure = Dart_GetField(library, closure_name);
173173
} else {
174174
Dart_Handle cls = Dart_GetClass(library, cls_name);
175175
DART_CHECK_VALID(cls);

runtime/dart_isolate.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,8 @@ bool DartIsolate::Run(const std::string& entrypoint_name) {
463463

464464
tonic::DartState::Scope scope(this);
465465

466-
Dart_Handle entrypoint = Dart_GetClosure(
467-
Dart_RootLibrary(), tonic::ToDart(entrypoint_name.c_str()));
466+
Dart_Handle entrypoint =
467+
Dart_GetField(Dart_RootLibrary(), tonic::ToDart(entrypoint_name.c_str()));
468468
if (tonic::LogIfError(entrypoint)) {
469469
return false;
470470
}
@@ -506,7 +506,7 @@ bool DartIsolate::RunFromLibrary(const std::string& library_name,
506506
}
507507

508508
Dart_Handle entrypoint =
509-
Dart_GetClosure(library, tonic::ToDart(entrypoint_name.c_str()));
509+
Dart_GetField(library, tonic::ToDart(entrypoint_name.c_str()));
510510
if (tonic::LogIfError(entrypoint)) {
511511
return false;
512512
}

0 commit comments

Comments
 (0)