5#ifndef RUNTIME_VM_COMPILER_FRONTEND_CONSTANT_READER_H_
6#define RUNTIME_VM_COMPILER_FRONTEND_CONSTANT_READER_H_
8#if defined(DART_PRECOMPILED_RUNTIME)
9#error "AOT runtime should not use compiler sources (including header files)"
27 intptr_t* pragma_name_constant_index,
28 intptr_t* pragma_options_constant_index);
47 InstancePtr ReadConstantInternal(intptr_t constant_index);
52 if (active_class_ !=
nullptr) {
58 KernelReaderHelper* helper_;
60 TranslationHelper& translation_helper_;
61 ActiveClass* active_class_;
bool IsStringConstant(intptr_t constant_index, const char *name)
ConstantReader(KernelReaderHelper *helper, ActiveClass *active_class)
InstancePtr ReadConstantExpression()
bool IsInstanceConstant(intptr_t constant_index, const Class &clazz)
ObjectPtr ReadAnnotations()
InstancePtr ReadConstant(intptr_t constant_index)
InstancePtr ReadConstantInitializer()
virtual ~ConstantReader()
bool GetStringConstant(intptr_t constant_index, String *out_value)
bool IsPragmaInstanceConstant(intptr_t constant_index, intptr_t *pragma_name_constant_index, intptr_t *pragma_options_constant_index)