Index: runtime/vm/deferred_objects.h |
=================================================================== |
--- runtime/vm/deferred_objects.h (revision 31471) |
+++ runtime/vm/deferred_objects.h (working copy) |
@@ -13,6 +13,7 @@ |
class Instance; |
class RawInstance; |
class RawObject; |
+class DeoptContext; |
// Used by the deoptimization infrastructure to defer allocation of |
// unboxed objects until frame is fully rewritten and GC is safe. |
@@ -27,7 +28,7 @@ |
RawInstance** slot() const { return slot_; } |
DeferredSlot* next() const { return next_; } |
- virtual void Materialize() = 0; |
+ virtual void Materialize(DeoptContext* deopt_context) = 0; |
private: |
RawInstance** const slot_; |
@@ -42,7 +43,7 @@ |
DeferredDouble(double value, RawInstance** slot, DeferredSlot* next) |
: DeferredSlot(slot, next), value_(value) { } |
- virtual void Materialize(); |
+ virtual void Materialize(DeoptContext* deopt_context); |
double value() const { return value_; } |
@@ -58,7 +59,7 @@ |
DeferredMint(int64_t value, RawInstance** slot, DeferredSlot* next) |
: DeferredSlot(slot, next), value_(value) { } |
- virtual void Materialize(); |
+ virtual void Materialize(DeoptContext* deopt_context); |
int64_t value() const { return value_; } |
@@ -75,7 +76,7 @@ |
DeferredSlot* next) |
: DeferredSlot(slot, next), value_(value) { } |
- virtual void Materialize(); |
+ virtual void Materialize(DeoptContext* deopt_context); |
simd128_value_t value() const { return value_; } |
@@ -92,7 +93,7 @@ |
DeferredSlot* next) |
: DeferredSlot(slot, next), value_(value) { } |
- virtual void Materialize(); |
+ virtual void Materialize(DeoptContext* deopt_context); |
simd128_value_t value() const { return value_; } |
@@ -111,7 +112,7 @@ |
DeferredObjectRef(intptr_t index, RawInstance** slot, DeferredSlot* next) |
: DeferredSlot(slot, next), index_(index) { } |
- virtual void Materialize(); |
+ virtual void Materialize(DeoptContext* deopt_context); |
intptr_t index() const { return index_; } |