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

Side by Side Diff: src/compiler/bytecode-graph-builder.cc

Issue 2655533003: [turbofan] Remove dead {is_liveness_analysis_enabled}. (Closed)
Patch Set: Created 3 years, 10 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 unified diff | Download patch
« no previous file with comments | « src/compiler/bytecode-graph-builder.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/compiler/bytecode-graph-builder.h" 5 #include "src/compiler/bytecode-graph-builder.h"
6 6
7 #include "src/ast/ast.h" 7 #include "src/ast/ast.h"
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/compilation-info.h" 9 #include "src/compilation-info.h"
10 #include "src/compiler/compiler-source-position-table.h" 10 #include "src/compiler/compiler-source-position-table.h"
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after
463 bytecode_analysis_(nullptr), 463 bytecode_analysis_(nullptr),
464 environment_(nullptr), 464 environment_(nullptr),
465 osr_ast_id_(osr_ast_id), 465 osr_ast_id_(osr_ast_id),
466 osr_loop_offset_(-1), 466 osr_loop_offset_(-1),
467 merge_environments_(local_zone), 467 merge_environments_(local_zone),
468 exception_handlers_(local_zone), 468 exception_handlers_(local_zone),
469 current_exception_handler_(0), 469 current_exception_handler_(0),
470 input_buffer_size_(0), 470 input_buffer_size_(0),
471 input_buffer_(nullptr), 471 input_buffer_(nullptr),
472 exit_controls_(local_zone), 472 exit_controls_(local_zone),
473 is_liveness_analysis_enabled_(FLAG_analyze_environment_liveness),
474 state_values_cache_(jsgraph), 473 state_values_cache_(jsgraph),
475 source_positions_(source_positions), 474 source_positions_(source_positions),
476 start_position_(shared_info->start_position(), inlining_id) {} 475 start_position_(shared_info->start_position(), inlining_id) {}
477 476
478 Node* BytecodeGraphBuilder::GetNewTarget() { 477 Node* BytecodeGraphBuilder::GetNewTarget() {
479 if (!new_target_.is_set()) { 478 if (!new_target_.is_set()) {
480 int params = bytecode_array()->parameter_count(); 479 int params = bytecode_array()->parameter_count();
481 int index = Linkage::GetJSCallNewTargetParamIndex(params); 480 int index = Linkage::GetJSCallNewTargetParamIndex(params);
482 const Operator* op = common()->Parameter(index, "%new.target"); 481 const Operator* op = common()->Parameter(index, "%new.target");
483 Node* node = NewNode(op, graph()->start()); 482 Node* node = NewNode(op, graph()->start());
(...skipping 1814 matching lines...) Expand 10 before | Expand all | Expand 10 after
2298 it->source_position().ScriptOffset(), start_position_.InliningId())); 2297 it->source_position().ScriptOffset(), start_position_.InliningId()));
2299 it->Advance(); 2298 it->Advance();
2300 } else { 2299 } else {
2301 DCHECK_GT(it->code_offset(), offset); 2300 DCHECK_GT(it->code_offset(), offset);
2302 } 2301 }
2303 } 2302 }
2304 2303
2305 } // namespace compiler 2304 } // namespace compiler
2306 } // namespace internal 2305 } // namespace internal
2307 } // namespace v8 2306 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/bytecode-graph-builder.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698