5#ifndef RUNTIME_VM_COMPILER_FRONTEND_PROLOGUE_BUILDER_H_
6#define RUNTIME_VM_COMPILER_FRONTEND_PROLOGUE_BUILDER_H_
8#if defined(DART_PRECOMPILED_RUNTIME)
9#error "AOT runtime should not use compiler sources (including header files)"
42 intptr_t last_used_id,
43 bool compiling_for_osr,
46 compiling_for_osr_(compiling_for_osr),
47 is_inlining_(is_inlining) {}
60 Fragment BuildClosureContextHandling();
62 Fragment BuildTypeArgumentsHandling();
64 Fragment BuildClosureDelayedTypeArgumentsHandling();
70 const Instance& DefaultParameterValueAt(intptr_t
i) {
78 return Instance::null_instance();
81 void SortOptionalNamedParametersInto(
int* opt_param_position,
85 bool compiling_for_osr_;
ZoneGrowableArray< const Instance * > * default_parameter_values() const
const Instance & DefaultParameterValueAt(intptr_t i) const
LocalVariable * RawParameterVariable(intptr_t i) const
intptr_t last_used_block_id_
bool has_saved_args_desc_array()
const ParsedFunction * parsed_function_
BlockEntryInstr * BuildPrologue(BlockEntryInstr *entry, PrologueInfo *prologue_info)
Fragment BuildParameterHandling()
static bool HasEmptyPrologue(const Function &function)
intptr_t last_used_block_id() const
static bool PrologueSkippableOnUncheckedEntry(const Function &function)
PrologueBuilder(const ParsedFunction *parsed_function, intptr_t last_used_id, bool compiling_for_osr, bool is_inlining)
Dart_NativeFunction function