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

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

Issue 1715633002: [turbofan] Remove the JSContextRelaxation reducer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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/ast-graph-builder.cc ('k') | src/compiler/common-operator.h » ('j') | 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/compiler/bytecode-branch-analysis.h" 7 #include "src/compiler/bytecode-branch-analysis.h"
8 #include "src/compiler/linkage.h" 8 #include "src/compiler/linkage.h"
9 #include "src/compiler/operator-properties.h" 9 #include "src/compiler/operator-properties.h"
10 #include "src/interpreter/bytecodes.h" 10 #include "src/interpreter/bytecodes.h"
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 JSGraph* jsgraph) 441 JSGraph* jsgraph)
442 : local_zone_(local_zone), 442 : local_zone_(local_zone),
443 jsgraph_(jsgraph), 443 jsgraph_(jsgraph),
444 bytecode_array_(handle(info->shared_info()->bytecode_array())), 444 bytecode_array_(handle(info->shared_info()->bytecode_array())),
445 exception_handler_table_( 445 exception_handler_table_(
446 handle(HandlerTable::cast(bytecode_array()->handler_table()))), 446 handle(HandlerTable::cast(bytecode_array()->handler_table()))),
447 feedback_vector_(info->feedback_vector()), 447 feedback_vector_(info->feedback_vector()),
448 frame_state_function_info_(common()->CreateFrameStateFunctionInfo( 448 frame_state_function_info_(common()->CreateFrameStateFunctionInfo(
449 FrameStateType::kInterpretedFunction, 449 FrameStateType::kInterpretedFunction,
450 bytecode_array()->parameter_count(), 450 bytecode_array()->parameter_count(),
451 bytecode_array()->register_count(), info->shared_info(), 451 bytecode_array()->register_count(), info->shared_info())),
452 CALL_MAINTAINS_NATIVE_CONTEXT)),
453 deoptimization_enabled_(info->is_deoptimization_enabled()), 452 deoptimization_enabled_(info->is_deoptimization_enabled()),
454 merge_environments_(local_zone), 453 merge_environments_(local_zone),
455 exception_handlers_(local_zone), 454 exception_handlers_(local_zone),
456 current_exception_handler_(0), 455 current_exception_handler_(0),
457 input_buffer_size_(0), 456 input_buffer_size_(0),
458 input_buffer_(nullptr), 457 input_buffer_(nullptr),
459 exit_controls_(local_zone) {} 458 exit_controls_(local_zone) {}
460 459
461 Node* BytecodeGraphBuilder::GetNewTarget() { 460 Node* BytecodeGraphBuilder::GetNewTarget() {
462 if (!new_target_.is_set()) { 461 if (!new_target_.is_set()) {
(...skipping 1289 matching lines...) Expand 10 before | Expand all | Expand 10 after
1752 // Phi does not exist yet, introduce one. 1751 // Phi does not exist yet, introduce one.
1753 value = NewPhi(inputs, value, control); 1752 value = NewPhi(inputs, value, control);
1754 value->ReplaceInput(inputs - 1, other); 1753 value->ReplaceInput(inputs - 1, other);
1755 } 1754 }
1756 return value; 1755 return value;
1757 } 1756 }
1758 1757
1759 } // namespace compiler 1758 } // namespace compiler
1760 } // namespace internal 1759 } // namespace internal
1761 } // namespace v8 1760 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/compiler/common-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698