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

Unified Diff: src/debug/debug-frames.cc

Issue 2557693006: [turbofan] Remove --turbo-asm-deoptimization flag. (Closed)
Patch Set: Remove implication. Created 4 years 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 | « src/compiler/pipeline.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug-frames.cc
diff --git a/src/debug/debug-frames.cc b/src/debug/debug-frames.cc
index 5da1656fadd9977f2ff012e8e32fe3463895c3a9..979b089ee22ca47a952a5a7d23a05c51320f9e05 100644
--- a/src/debug/debug-frames.cc
+++ b/src/debug/debug-frames.cc
@@ -24,8 +24,7 @@ FrameInspector::FrameInspector(StandardFrame* frame, int inlined_jsframe_index,
DCHECK(js_frame != nullptr);
// TODO(turbofan): Revisit once we support deoptimization.
if (js_frame->LookupCode()->is_turbofanned() &&
- js_frame->function()->shared()->asm_function() &&
- !FLAG_turbo_asm_deoptimization) {
+ js_frame->function()->shared()->asm_function()) {
is_optimized_ = false;
return;
}
@@ -69,8 +68,7 @@ Handle<Object> FrameInspector::GetExpression(int index) {
// TODO(turbofan): Revisit once we support deoptimization.
if (frame_->is_java_script() &&
javascript_frame()->LookupCode()->is_turbofanned() &&
- javascript_frame()->function()->shared()->asm_function() &&
- !FLAG_turbo_asm_deoptimization) {
+ javascript_frame()->function()->shared()->asm_function()) {
return isolate_->factory()->undefined_value();
}
return is_optimized_ ? deoptimized_frame_->GetExpression(index)
« no previous file with comments | « src/compiler/pipeline.cc ('k') | src/deoptimizer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698