Flutter Engine
The Flutter Engine
Classes | Namespaces | Macros
stub_code.h File Reference
#include "vm/allocation.h"
#include "vm/compiler/runtime_api.h"
#include "vm/object.h"
#include "vm/stub_code_list.h"
#include "vm/compiler/assembler/assembler.h"
#include "vm/compiler/stub_code_compiler.h"

Go to the source code of this file.

Classes

class  dart::StubCode
 

Namespaces

namespace  dart
 

Macros

#define STUB_CODE_ACCESSOR(name)
 
#define GENERATE_STUB(name)
 
#define STUB_CODE_ENTRY(name)   k##name##Index,
 

Macro Definition Documentation

◆ GENERATE_STUB

#define GENERATE_STUB (   name)
Value:
static CodePtr BuildIsolateSpecific##name##Stub( \
compiler::ObjectPoolBuilder* opw) { \
return StubCode::Generate( \
"_iso_stub_" #name, opw, \
&compiler::StubCodeCompiler::Generate##name##Stub); \
}
DEF_SWITCHES_START aot vmservice shared library name
Definition: switches.h:32

Definition at line 110 of file stub_code.h.

◆ STUB_CODE_ACCESSOR

#define STUB_CODE_ACCESSOR (   name)
Value:
static const Code& name() { return *entries_[k##name##Index].code; } \
static intptr_t name##Size() { return name().Size(); }
TSize< Scalar > Size
Definition: size.h:137

Definition at line 59 of file stub_code.h.

◆ STUB_CODE_ENTRY

#define STUB_CODE_ENTRY (   name)    k##name##Index,

Definition at line 125 of file stub_code.h.