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

Unified Diff: runtime/vm/flow_graph_compiler_ia32.cc

Issue 12529008: Collect type feedback for fields. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 9 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/flow_graph_compiler_ia32.cc
diff --git a/runtime/vm/flow_graph_compiler_ia32.cc b/runtime/vm/flow_graph_compiler_ia32.cc
index 41aa3fbede4cddae5b7b86f63124f551dd93c90f..4107885f58b4aae8b1ccf2c40227c0cd3dce0a42 100644
--- a/runtime/vm/flow_graph_compiler_ia32.cc
+++ b/runtime/vm/flow_graph_compiler_ia32.cc
@@ -631,6 +631,12 @@ void FlowGraphCompiler::EmitInstructionPrologue(Instruction* instr) {
assert->deopt_id(),
assert->token_pos());
}
+ if (instr->IsStoreInstanceField()) {
Kevin Millikin (Google) 2013/03/12 12:14:56 else if
Vyacheslav Egorov (Google) 2013/03/12 16:54:40 Done.
+ StoreInstanceFieldInstr* store = instr->AsStoreInstanceField();
+ AddCurrentDescriptor(PcDescriptors::kDeoptBefore,
+ store->deopt_id(),
+ Scanner::kDummyTokenIndex);
+ }
AllocateRegistersLocally(instr);
}
}

Powered by Google App Engine
This is Rietveld 408576698