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

Side by Side Diff: src/compiler/js-native-context-specialization.cc

Issue 1414963004: [turbofan] Fix rebase failure in tree (not checked by CQ). (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 2 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 | « no previous file | 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/js-native-context-specialization.h" 5 #include "src/compiler/js-native-context-specialization.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/compilation-dependencies.h" 8 #include "src/compilation-dependencies.h"
9 #include "src/compiler/access-builder.h" 9 #include "src/compiler/access-builder.h"
10 #include "src/compiler/js-graph.h" 10 #include "src/compiler/js-graph.h"
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
671 effects.push_back(control); 671 effects.push_back(control);
672 effect = graph()->NewNode(common()->EffectPhi(control_count), 672 effect = graph()->NewNode(common()->EffectPhi(control_count),
673 control_count + 1, &effects.front()); 673 control_count + 1, &effects.front());
674 } 674 }
675 return Replace(node, value, effect, control); 675 return Replace(node, value, effect, control);
676 } 676 }
677 677
678 678
679 Reduction JSNativeContextSpecialization::ReduceJSStoreNamed(Node* node) { 679 Reduction JSNativeContextSpecialization::ReduceJSStoreNamed(Node* node) {
680 DCHECK_EQ(IrOpcode::kJSStoreNamed, node->opcode()); 680 DCHECK_EQ(IrOpcode::kJSStoreNamed, node->opcode());
681 StoreNamedParameters const p = StoreNamedParametersOf(node->op()); 681 NamedAccess const& p = NamedAccessOf(node->op());
682 Handle<Name> name = p.name(); 682 Handle<Name> name = p.name();
683 Node* receiver = NodeProperties::GetValueInput(node, 0); 683 Node* receiver = NodeProperties::GetValueInput(node, 0);
684 Node* value = NodeProperties::GetValueInput(node, 1); 684 Node* value = NodeProperties::GetValueInput(node, 1);
685 Node* frame_state = NodeProperties::GetFrameStateInput(node, 1); 685 Node* frame_state = NodeProperties::GetFrameStateInput(node, 1);
686 Node* effect = NodeProperties::GetEffectInput(node); 686 Node* effect = NodeProperties::GetEffectInput(node);
687 Node* control = NodeProperties::GetControlInput(node); 687 Node* control = NodeProperties::GetControlInput(node);
688 688
689 // Not much we can do if deoptimization support is disabled. 689 // Not much we can do if deoptimization support is disabled.
690 if (!(flags() & kDeoptimizationEnabled)) return NoChange(); 690 if (!(flags() & kDeoptimizationEnabled)) return NoChange();
691 691
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
972 } 972 }
973 973
974 974
975 SimplifiedOperatorBuilder* JSNativeContextSpecialization::simplified() const { 975 SimplifiedOperatorBuilder* JSNativeContextSpecialization::simplified() const {
976 return jsgraph()->simplified(); 976 return jsgraph()->simplified();
977 } 977 }
978 978
979 } // namespace compiler 979 } // namespace compiler
980 } // namespace internal 980 } // namespace internal
981 } // namespace v8 981 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698