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

Unified Diff: runtime/vm/flow_graph_compiler_x64.cc

Issue 10831070: Allow deoptimization from states with spilled values. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: address Srdjan's comments 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
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/flow_graph_compiler_x64.cc
diff --git a/runtime/vm/flow_graph_compiler_x64.cc b/runtime/vm/flow_graph_compiler_x64.cc
index 6fa92b019de3b64fbbf84b5f4b0b5f17a679f70d..0365d12e9240ac9ede506bfc709eca085523e6e9 100644
--- a/runtime/vm/flow_graph_compiler_x64.cc
+++ b/runtime/vm/flow_graph_compiler_x64.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());
« no previous file with comments | « runtime/vm/flow_graph_compiler_ia32.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698