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

Unified Diff: runtime/vm/deopt_instructions.cc

Issue 10894034: Make constants computations instead of values. (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
« no previous file with comments | « no previous file | runtime/vm/flow_graph.cc » ('j') | runtime/vm/flow_graph.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/deopt_instructions.cc
diff --git a/runtime/vm/deopt_instructions.cc b/runtime/vm/deopt_instructions.cc
index 3291d84366f5c927cfcb9b11cf8735c9be359b2c..eabb177c95f60576fbb42bb9479d9865ed65f536 100644
--- a/runtime/vm/deopt_instructions.cc
+++ b/runtime/vm/deopt_instructions.cc
@@ -320,11 +320,6 @@ void DeoptInfoBuilder::AddCopy(const Location& from_loc,
from_loc.stack_index() + num_args_ -
ParsedFunction::kFirstLocalSlotIndex + 1;
deopt_instr = new DeoptStackSlotInstr(from_index);
- } else if (from_loc.IsInvalid()) {
- ASSERT(from_value.IsConstant());
- const Object& obj = from_value.AsConstant()->value();
- intptr_t object_table_index = FindOrAddObjectInTable(obj);
- deopt_instr = new DeoptConstantInstr(object_table_index);
} else {
UNREACHABLE();
}
« no previous file with comments | « no previous file | runtime/vm/flow_graph.cc » ('j') | runtime/vm/flow_graph.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698