Skip to content

Commit

Permalink
Roll Dart to version 1be785a (flutter#5985)
Browse files Browse the repository at this point in the history
* Roll Dart to version 1be785a

This rolls includes the following changes :

1be785a Clean up some dead code
7b9fb89 [vm] Add a service method for 'invoke' as the dual to 'eval'.
099f150 Mention -O flag in CHANGELOG
79f69ab [vm/compiler] breakage fix: add missing break
96a1e99 Fix the pkg bot
7818db2 Add analysis hint for invalid use of @visibleForTemplate code.
71d9601 [vm/compiler] Introduce 64-bit NEGATE - all archs.
5013a2c Remove spurious line.
ef2f777 Mark some analyzer tests as being flaky
cf560fe Fix a couple of the tests failing on the analyzer with fasta parser bot
63c1169 [gardening] Fix language_2/type_variable_promotion_test.
d0f2888 [VM] Fix expression evaluation implementation: Never register temporary/unused classes with the system.
e2a1807 [gardening] Update status for io/compile_all_test in PRODUCT AOT mode
f7ff739 Insert date of 2.0.0 release in Changelog
bcabad6 [vm] Fix SIMARM64 build on Windows.
af02cca [infra] Fix filesets for new vm-kernel-precomp builders
8e2f28e Update homebrew to drop the @2 tab and fix for 2.0
ba119d7 [VM] Remove "$compiler == precompiler" sections from language_2_precompiler.status
f3a2c0e [release] Prepare changelog for 2.1.0-dev.0.0
88cba7d [vm/kernel/bytecode] Fix arguments descriptor for List._fromLiteral call in bytecode
bd45ec0 [vm, gc] Refactor PageSpace::CollectGarbage to ensure the safepoint and task count remain well-scoped even with early exits.
8195fd8 Repair dart2js/string_interpolation_test
a0b335a Try no implicit casts in pkg/analyzer_cli.
3d25d37 Update pub - leave packages directories alone
327db5e [vm] Fix kernel_isolate use_field_guard flag for kbc
a1ca88f Resolve invocation arguments to parameters.

* Address source format error.
  • Loading branch information
a-siva authored Aug 9, 2018
1 parent e54bc4e commit d90223f
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions DEPS
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ vars = {
# Dart is: https://github.com/dart-lang/sdk/blob/master/DEPS.
# You can use //tools/dart/create_updated_flutter_deps.py to produce
# updated revision list of existing dependencies.
'dart_revision': 'eab492385c3f345cb2f44f3b702b0e30e4a9c107',
'dart_revision': '1be785ae2ddb1754a184cd638ab719e94d86b4e9',

'dart_args_tag': '1.4.4',
'dart_async_tag': '2.0.8',
Expand Down Expand Up @@ -73,7 +73,7 @@ vars = {
'dart_plugin_tag': 'f5b4b0e32d1406d62daccea030ba6457d14b1c47',
'dart_pool_tag': '1.3.6',
'dart_protobuf_tag': '0.9.0',
'dart_pub_rev': '58fe996eab8d54f28f5109c407ff0ab62fbd835d',
'dart_pub_rev': '5962908a66e814dd78f6856a4e5f792c6db65fbc',
'dart_pub_semver_tag': '1.4.2',
'dart_quiver_tag': '0.29.0+2',
'dart_resource_rev': '2.1.5',
Expand Down
3 changes: 2 additions & 1 deletion ci/licenses_golden/licenses_third_party
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Signature: e451900a1345f7d287e1032e5a26dac9
Signature: 350887638dbf5cdb4d0e1879ddb0cf33

UNUSED LICENSES:

Expand Down Expand Up @@ -5827,6 +5827,7 @@ FILE: ../../../third_party/dart/runtime/lib/stacktrace.dart
FILE: ../../../third_party/dart/runtime/lib/symbol_patch.dart
FILE: ../../../third_party/dart/runtime/lib/timer_impl.dart
FILE: ../../../third_party/dart/runtime/lib/typed_data.cc
FILE: ../../../third_party/dart/runtime/lib/typed_data_patch.dart
FILE: ../../../third_party/dart/runtime/lib/uri.cc
FILE: ../../../third_party/dart/runtime/lib/uri_patch.dart
FILE: ../../../third_party/dart/runtime/observatory/lib/src/app/application.dart
Expand Down
2 changes: 1 addition & 1 deletion lib/ui/plugins/callback_cache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ Dart_Handle DartCallbackCache::LookupDartClosure(

Dart_Handle closure;
if (Dart_IsNull(cls_name)) {
closure = Dart_GetClosure(library, closure_name);
closure = Dart_GetField(library, closure_name);
} else {
Dart_Handle cls = Dart_GetClass(library, cls_name);
DART_CHECK_VALID(cls);
Expand Down
6 changes: 3 additions & 3 deletions runtime/dart_isolate.cc
Original file line number Diff line number Diff line change
Expand Up @@ -463,8 +463,8 @@ bool DartIsolate::Run(const std::string& entrypoint_name) {

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

Dart_Handle entrypoint = Dart_GetClosure(
Dart_RootLibrary(), tonic::ToDart(entrypoint_name.c_str()));
Dart_Handle entrypoint =
Dart_GetField(Dart_RootLibrary(), tonic::ToDart(entrypoint_name.c_str()));
if (tonic::LogIfError(entrypoint)) {
return false;
}
Expand Down Expand Up @@ -506,7 +506,7 @@ bool DartIsolate::RunFromLibrary(const std::string& library_name,
}

Dart_Handle entrypoint =
Dart_GetClosure(library, tonic::ToDart(entrypoint_name.c_str()));
Dart_GetField(library, tonic::ToDart(entrypoint_name.c_str()));
if (tonic::LogIfError(entrypoint)) {
return false;
}
Expand Down

0 comments on commit d90223f

Please sign in to comment.