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

Unified Diff: runtime/vm/deopt_instructions.h

Issue 184523002: Allocation sinking for contexts. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: added new test Created 6 years, 1 month 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
Index: runtime/vm/deopt_instructions.h
===================================================================
--- runtime/vm/deopt_instructions.h (revision 41687)
+++ runtime/vm/deopt_instructions.h (working copy)
@@ -113,7 +113,7 @@
void DeferMaterializedObjectRef(intptr_t idx, intptr_t* slot) {
deferred_slots_ = new DeferredObjectRef(
idx,
- reinterpret_cast<RawInstance**>(slot),
+ reinterpret_cast<RawObject**>(slot),
deferred_slots_);
}
@@ -120,7 +120,7 @@
void DeferMaterialization(double value, RawDouble** slot) {
deferred_slots_ = new DeferredDouble(
value,
- reinterpret_cast<RawInstance**>(slot),
+ reinterpret_cast<RawObject**>(slot),
deferred_slots_);
}
@@ -127,7 +127,7 @@
void DeferMintMaterialization(int64_t value, RawMint** slot) {
deferred_slots_ = new DeferredMint(
value,
- reinterpret_cast<RawInstance**>(slot),
+ reinterpret_cast<RawObject**>(slot),
deferred_slots_);
}
@@ -134,7 +134,7 @@
void DeferMaterialization(simd128_value_t value, RawFloat32x4** slot) {
deferred_slots_ = new DeferredFloat32x4(
value,
- reinterpret_cast<RawInstance**>(slot),
+ reinterpret_cast<RawObject**>(slot),
deferred_slots_);
}
@@ -141,7 +141,7 @@
void DeferMaterialization(simd128_value_t value, RawFloat64x2** slot) {
deferred_slots_ = new DeferredFloat64x2(
value,
- reinterpret_cast<RawInstance**>(slot),
+ reinterpret_cast<RawObject**>(slot),
deferred_slots_);
}
@@ -148,7 +148,7 @@
void DeferMaterialization(simd128_value_t value, RawInt32x4** slot) {
deferred_slots_ = new DeferredInt32x4(
value,
- reinterpret_cast<RawInstance**>(slot),
+ reinterpret_cast<RawObject**>(slot),
deferred_slots_);
}

Powered by Google App Engine
This is Rietveld 408576698