| Index: runtime/vm/stub_code.h
|
| diff --git a/runtime/vm/stub_code.h b/runtime/vm/stub_code.h
|
| index 533944d62d4bfe3602d12a26e55a3cd59c85f5d3..3a32885d1ec59e51674989b87ec0b041b4a7c058 100644
|
| --- a/runtime/vm/stub_code.h
|
| +++ b/runtime/vm/stub_code.h
|
| @@ -170,11 +170,6 @@ class StubCode : public AllStatic {
|
|
|
| static const intptr_t kStubCodeSize = 4 * KB;
|
|
|
| -#define STUB_CODE_GENERATE(name) \
|
| - static void Generate##name##Stub(Assembler* assembler);
|
| - VM_STUB_CODE_LIST(STUB_CODE_GENERATE)
|
| -#undef STUB_CODE_GENERATE
|
| -
|
| enum {
|
| #define STUB_CODE_ENTRY(name) k##name##Index,
|
| VM_STUB_CODE_LIST(STUB_CODE_ENTRY)
|
| @@ -184,6 +179,12 @@ class StubCode : public AllStatic {
|
|
|
| static StubEntry* entries_[kNumStubEntries];
|
|
|
| +#if !defined(DART_PRECOMPILED_RUNTIME)
|
| +#define STUB_CODE_GENERATE(name) \
|
| + static void Generate##name##Stub(Assembler* assembler);
|
| + VM_STUB_CODE_LIST(STUB_CODE_GENERATE)
|
| +#undef STUB_CODE_GENERATE
|
| +
|
| // Generate the stub and finalize the generated code into the stub
|
| // code executable area.
|
| static RawCode* Generate(const char* name,
|
| @@ -201,6 +202,7 @@ class StubCode : public AllStatic {
|
| static void GenerateUsageCounterIncrement(Assembler* assembler,
|
| Register temp_reg);
|
| static void GenerateOptimizedUsageCounterIncrement(Assembler* assembler);
|
| +#endif // !defined(DART_PRECOMPILED_RUNTIME)
|
| };
|
|
|
|
|
|
|