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

Unified Diff: runtime/vm/deopt_instructions.cc

Issue 2098573004: DBC: CheckClassInstr (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Trying to find static call deopt bug Created 4 years, 6 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
Index: runtime/vm/deopt_instructions.cc
diff --git a/runtime/vm/deopt_instructions.cc b/runtime/vm/deopt_instructions.cc
index ce668f4334b27b9c2a4a41dd03a5da0a0611b4f3..061602d4881d9af378ed6b89ae79e81dc7e29825 100644
--- a/runtime/vm/deopt_instructions.cc
+++ b/runtime/vm/deopt_instructions.cc
@@ -312,6 +312,8 @@ void DeoptContext::FillDestFrame() {
const intptr_t field_count =
DeoptInstr::GetFieldCount(deopt_instructions[from_index]);
intptr_t* args = GetDestFrameAddressAt(to_index);
+ // OS::PrintErr("FillDestFrame: num_materializations = %ld, from_index = %ld, to_index = %ld, field_count = %ld, args = %p\n",
+ // num_materializations, from_index, to_index, field_count, args);
DeferredObject* obj = new DeferredObject(field_count, args);
SetDeferredObjectAt(from_index, obj);
to_index += obj->ArgumentCount();
@@ -692,7 +694,6 @@ class DeoptPcMarkerInstr : public DeoptInstr {
return;
}
-#if !defined(TARGET_ARCH_DBC)
// We don't always have the Code object for the frame's corresponding
// unoptimized code as it may have been collected. Use a stub as the pc
// marker until we can recreate that Code object during deferred
@@ -700,7 +701,6 @@ class DeoptPcMarkerInstr : public DeoptInstr {
// a pc marker.
*reinterpret_cast<RawObject**>(dest_addr) =
StubCode::FrameAwaitingMaterialization_entry()->code();
-#endif
deopt_context->DeferPcMarkerMaterialization(object_table_index_, dest_addr);
}

Powered by Google App Engine
This is Rietveld 408576698