mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 08:44:27 +00:00
63e170a242
This change removes duplicate management of inputs in variadic IL instructions by introducing VariadicDefinition and VariadicDefinitionWithEmbeddedInputs base classes. TemplateInstruction and TemplateDefinition are used in more places where appropriate. Number of inputs no longer depends on the values of the inputs (DropTempsInstr and AllocateObjectInstr). This change also prepares IL for the future implementation of binary serialization/deserialization in the following ways: * Environment now holds Function and not ParsedFunction (which are not going to be serialized). * Instructions no longer keep Zone* pointer (it's redundant). * NativeCallInstr keeps references to handles instead of pointers. TEST=ci (pure refactoring) Change-Id: I932b62c1c207bbf60cddbded8a39b41beabd3e83 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/253480 Reviewed-by: Slava Egorov <vegorov@google.com> Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Alexander Markov <alexmarkov@google.com> |
||
---|---|---|
.. | ||
base_flow_graph_builder.cc | ||
base_flow_graph_builder.h | ||
constant_reader.cc | ||
constant_reader.h | ||
flow_graph_builder.cc | ||
flow_graph_builder.h | ||
kernel_binary_flowgraph.cc | ||
kernel_binary_flowgraph.h | ||
kernel_binary_flowgraph_test.cc | ||
kernel_fingerprints.cc | ||
kernel_fingerprints.h | ||
kernel_to_il.cc | ||
kernel_to_il.h | ||
kernel_translation_helper.cc | ||
kernel_translation_helper.h | ||
prologue_builder.cc | ||
prologue_builder.h | ||
scope_builder.cc | ||
scope_builder.h |