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

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

Issue 2725263003: [compiler] Rename DataPropertyParameters. (Closed)
Patch Set: Use a better name. Created 3 years, 9 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/js-generic-lowering.cc ('k') | src/compiler/js-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/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/code-factory.h" 8 #include "src/code-factory.h"
9 #include "src/compilation-dependencies.h" 9 #include "src/compilation-dependencies.h"
10 #include "src/compiler/access-builder.h" 10 #include "src/compiler/access-builder.h"
(...skipping 1664 matching lines...) Expand 10 before | Expand all | Expand 10 after
1675 return ValueEffectControl(value, effect, control); 1675 return ValueEffectControl(value, effect, control);
1676 } 1676 }
1677 1677
1678 Reduction JSNativeContextSpecialization::ReduceJSStoreDataPropertyInLiteral( 1678 Reduction JSNativeContextSpecialization::ReduceJSStoreDataPropertyInLiteral(
1679 Node* node) { 1679 Node* node) {
1680 DCHECK_EQ(IrOpcode::kJSStoreDataPropertyInLiteral, node->opcode()); 1680 DCHECK_EQ(IrOpcode::kJSStoreDataPropertyInLiteral, node->opcode());
1681 1681
1682 // If deoptimization is disabled, we cannot optimize. 1682 // If deoptimization is disabled, we cannot optimize.
1683 if (!(flags() & kDeoptimizationEnabled)) return NoChange(); 1683 if (!(flags() & kDeoptimizationEnabled)) return NoChange();
1684 1684
1685 DataPropertyParameters const& p = DataPropertyParametersOf(node->op()); 1685 FeedbackParameter const& p = FeedbackParameterOf(node->op());
1686 1686
1687 if (!p.feedback().IsValid()) return NoChange(); 1687 if (!p.feedback().IsValid()) return NoChange();
1688 1688
1689 StoreDataPropertyInLiteralICNexus nexus(p.feedback().vector(), 1689 StoreDataPropertyInLiteralICNexus nexus(p.feedback().vector(),
1690 p.feedback().slot()); 1690 p.feedback().slot());
1691 if (nexus.IsUninitialized()) { 1691 if (nexus.IsUninitialized()) {
1692 return NoChange(); 1692 return NoChange();
1693 } 1693 }
1694 1694
1695 if (nexus.ic_state() == MEGAMORPHIC) { 1695 if (nexus.ic_state() == MEGAMORPHIC) {
(...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after
2328 return jsgraph()->javascript(); 2328 return jsgraph()->javascript();
2329 } 2329 }
2330 2330
2331 SimplifiedOperatorBuilder* JSNativeContextSpecialization::simplified() const { 2331 SimplifiedOperatorBuilder* JSNativeContextSpecialization::simplified() const {
2332 return jsgraph()->simplified(); 2332 return jsgraph()->simplified();
2333 } 2333 }
2334 2334
2335 } // namespace compiler 2335 } // namespace compiler
2336 } // namespace internal 2336 } // namespace internal
2337 } // namespace v8 2337 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/js-operator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698