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

Unified Diff: runtime/vm/flow_graph_compiler.cc

Issue 10891025: Eliminate class UseVal. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 4 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.cc
diff --git a/runtime/vm/flow_graph_compiler.cc b/runtime/vm/flow_graph_compiler.cc
index 10e036144a3c2aa087eccbed011b8a539885bacb..6bd243a0d6dedaa17cb7c9d01db08867a3cd161a 100644
--- a/runtime/vm/flow_graph_compiler.cc
+++ b/runtime/vm/flow_graph_compiler.cc
@@ -50,7 +50,7 @@ RawDeoptInfo* DeoptimizationStub::CreateDeoptInfo(FlowGraphCompiler* compiler) {
intptr_t height = compiler->StackSize();
for (intptr_t i = 0; i < values.length(); i++) {
if (deoptimization_env_->LocationAt(i).IsInvalid()) {
- ASSERT(values[i]->AsUse()->definition()->IsPushArgument());
+ ASSERT(values[i]->definition()->IsPushArgument());
*deoptimization_env_->LocationSlotAt(i) = Location::StackSlot(height++);
}
}

Powered by Google App Engine
This is Rietveld 408576698