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

Unified Diff: runtime/vm/flow_graph_compiler_ia32.cc

Issue 10831070: Allow deoptimization from states with spilled values. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: refactor numbering scheme Created 8 years, 5 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 cc6e18e98a3cecb9e5eb6464c467f387842319e6..f428f74e0ae9fb2bb6044f5d94881b9d65325a38 100644
--- a/runtime/vm/flow_graph_compiler_ia32.cc
+++ b/runtime/vm/flow_graph_compiler_ia32.cc
@@ -54,9 +54,6 @@ void DeoptimizationStub::GenerateCode(FlowGraphCompiler* compiler) {
for (intptr_t i = 0; i < values.length(); i++) {
Location destination = Location::StackSlot(i - fixed_parameter_count);
Location source = deoptimization_env_->LocationAt(i);
- if (!source.IsRegister() && !source.IsInvalid()) {
- compiler->Bailout("unsupported deoptimization state");
- }
if (source.IsInvalid()) {
ASSERT(values[i]->IsConstant());
source = Location::Constant(values[i]->AsConstant()->value());

Powered by Google App Engine
This is Rietveld 408576698