[vm, bytecode] Populate bytecode cache when initializing an incremental compiler from a kernel file.
AST "without_change_elapsed_time_ms": 2863, "implementation_change_elapsed_time_ms": 6009, "interface_change_elapsed_time_ms": 5888, "with_coverage_time_ms": 2884 BYTECODE BEFORE "without_change_elapsed_time_ms": 5216, "implementation_change_elapsed_time_ms": 8517, "interface_change_elapsed_time_ms": 8895, "with_coverage_time_ms": 5462 BYTECODE AFTER "without_change_elapsed_time_ms": 3384, "implementation_change_elapsed_time_ms": 8139, "interface_change_elapsed_time_ms": 8073, "with_coverage_time_ms": 3473 Change-Id: Ic8e1c183070cb6019ea48f16c04ea5363df41a97 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119620 Commit-Queue: Ryan Macnak <rmacnak@google.com> Reviewed-by: Alexander Markov <alexmarkov@google.com>
This commit is contained in:
committed by
commit-bot@chromium.org
parent
22479a17ff
commit
d65a60db00
@@ -2269,8 +2269,16 @@ class BinaryBuilderWithMetadata extends BinaryBuilder implements BinarySource {
|
||||
/// and are awaiting to be parsed and attached to nodes.
|
||||
List<_MetadataSubsection> _subsections;
|
||||
|
||||
BinaryBuilderWithMetadata(bytes, [filename])
|
||||
: super(bytes, filename: filename);
|
||||
BinaryBuilderWithMetadata(List<int> bytes,
|
||||
{String filename,
|
||||
bool disableLazyReading = false,
|
||||
bool disableLazyClassReading = false,
|
||||
bool alwaysCreateNewNamedNodes})
|
||||
: super(bytes,
|
||||
filename: filename,
|
||||
disableLazyReading: disableLazyReading,
|
||||
disableLazyClassReading: disableLazyClassReading,
|
||||
alwaysCreateNewNamedNodes: alwaysCreateNewNamedNodes);
|
||||
|
||||
@override
|
||||
void _readMetadataMappings(
|
||||
|
||||
Reference in New Issue
Block a user