61f0f5bc43
This change replaces kernel AST declarations of fields and functions with bytecode declarations. Size of dilp files is reduced by 11-12%. Startup latency: Time to the first full frame: 1.945s -> 1.687s FinalizeClass: 554ms -> 277ms FinishClassLoading: 296ms -> 156ms There are following regressions in bytecode mode, which will be fixed in future: * dart:mirrors are not supported yet (implementation of mirrors relies on reading kernel AST in certain cases). As the result, lib_2/mirrors/* tests fail. * native extensions are not supported yet (annotations on libraries and classes in AST are cleaned up as they could reference members which are now removed from AST). As the result, standalone_2/entrypoints_verification_test test fails. * language_2/spread_collections/const_error_test/* tests fail due to https://github.com/dart-lang/sdk/issues/36286. Change-Id: I5130f401fd7b84038b136136e7ccc1a6e51b6cea Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/97561 Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Ryan Macnak <rmacnak@google.com>
40 lines
1.1 KiB
Plaintext
40 lines
1.1 KiB
Plaintext
# This file is used by tools/utils.py to generate version strings.
|
|
# The numbers are changed as follows:
|
|
#
|
|
# * New release cycle has begun (i.e. stable release was just made):
|
|
# - increase MINOR by 1
|
|
# - set "PATCH 0"
|
|
# - set "PRERELEASE 0"
|
|
# - set "PRERELEASE_PATCH 0"
|
|
#
|
|
# * Doing a push-to-trunk from bleeding_edge:
|
|
# (The first push-to-trunk in the release cycle will set PRERELEASE to 0)
|
|
# - increase PRERELEASE by 1
|
|
# - set "PRERELEASE_PATCH 0"
|
|
#
|
|
# * Doing a cherry-pick to trunk:
|
|
# - increase PRERELEASE_PATCH by 1
|
|
#
|
|
# * Making a stable release (i.e. new stable branch):
|
|
# - set "PRERELEASE 0"
|
|
# - set "PRERELEASE_PATCH 0"
|
|
# The new stable release version will sort higher than the prereleases.
|
|
#
|
|
# * Making cherry-picks to stable channel
|
|
# - increase PATCH by 1
|
|
#
|
|
# * Making a change to the ABI:
|
|
# - increase ABI_VERSION by 1
|
|
#
|
|
# * Deprecating an old ABI version:
|
|
# - increase OLDEST_SUPPORTED_ABI_VERSION to the version that is supported.
|
|
#
|
|
CHANNEL be
|
|
MAJOR 2
|
|
MINOR 2
|
|
PATCH 1
|
|
PRERELEASE 0
|
|
PRERELEASE_PATCH 0
|
|
ABI_VERSION 1
|
|
OLDEST_SUPPORTED_ABI_VERSION 0
|