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

Unified Diff: runtime/vm/intermediate_language_ia32.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/intermediate_language_ia32.cc
diff --git a/runtime/vm/intermediate_language_ia32.cc b/runtime/vm/intermediate_language_ia32.cc
index 64acfef9cfb63446b978b90b184e3392a9d15e63..e5da40fff0e1374775f450523c1ee748237be180 100644
--- a/runtime/vm/intermediate_language_ia32.cc
+++ b/runtime/vm/intermediate_language_ia32.cc
@@ -1073,7 +1073,6 @@ void CreateArrayComp::EmitNativeCode(FlowGraphCompiler* compiler) {
// Pop the element values from the stack into the array.
__ leal(EDX, FieldAddress(EAX, Array::data_offset()));
for (int i = ArgumentCount() - 1; i >= 0; --i) {
- ASSERT(ArgumentAt(i)->value()->IsUse());
__ popl(Address(EDX, i * kWordSize));
}
}
@@ -1277,7 +1276,6 @@ LocationSummary*
void ExtractConstructorInstantiatorComp::EmitNativeCode(
FlowGraphCompiler* compiler) {
- ASSERT(instantiator()->IsUse());
Register instantiator_reg = locs()->in(0).reg();
ASSERT(locs()->out().reg() == instantiator_reg);
Register temp_reg = locs()->temp(0).reg();

Powered by Google App Engine
This is Rietveld 408576698