Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1981)

Unified Diff: runtime/vm/deferred_objects.h

Issue 132163005: Version 1.1.0-dev.5.7 (Closed) Base URL: http://dart.googlecode.com/svn/trunk/dart/
Patch Set: Created 6 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/vm/class_finalizer.cc ('k') | runtime/vm/deferred_objects.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/deferred_objects.h
===================================================================
--- runtime/vm/deferred_objects.h (revision 31662)
+++ 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_; }
« no previous file with comments | « runtime/vm/class_finalizer.cc ('k') | runtime/vm/deferred_objects.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698