Index: runtime/vm/stub_code.h |
diff --git a/runtime/vm/stub_code.h b/runtime/vm/stub_code.h |
index 3d3c016fc935733cfa6f59f0db97f05b2855534b..e7da564b6b3ef075741fac31bf34b9cadb0b480b 100644 |
--- a/runtime/vm/stub_code.h |
+++ b/runtime/vm/stub_code.h |
@@ -165,9 +165,8 @@ class StubCode : public AllStatic { |
void (*GenerateStub)(Assembler* assembler)); |
static void GenerateMegamorphicMissStub(Assembler* assembler); |
- static void GenerateAllocationStubForClass( |
- Assembler* assembler, const Class& cls, |
- uword* entry_patch_offset, uword* patch_code_pc_offset); |
+ static void GenerateAllocationStubForClass(Assembler* assembler, |
+ const Class& cls); |
static void GenerateNArgsCheckInlineCacheStub( |
Assembler* assembler, |
intptr_t num_args, |
@@ -180,6 +179,12 @@ class StubCode : public AllStatic { |
static void GenerateOptimizedUsageCounterIncrement(Assembler* assembler); |
}; |
+ |
+enum DeoptStubKind { |
+ kLazyDeopt, |
+ kEagerDeopt |
+}; |
+ |
} // namespace dart |
#endif // VM_STUB_CODE_H_ |