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

Side by Side Diff: src/compiler/node-properties.h

Issue 1451273002: [turbofan] Move JSCallFunction specialization to JSCallReducer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix arm64 failures. Created 5 years, 1 month 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-native-context-specialization.cc ('k') | src/compiler/node-properties.cc » ('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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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 #ifndef V8_COMPILER_NODE_PROPERTIES_H_ 5 #ifndef V8_COMPILER_NODE_PROPERTIES_H_
6 #define V8_COMPILER_NODE_PROPERTIES_H_ 6 #define V8_COMPILER_NODE_PROPERTIES_H_
7 7
8 #include "src/compiler/node.h" 8 #include "src/compiler/node.h"
9 #include "src/types.h" 9 #include "src/types.h"
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 // --------------------------------------------------------------------------- 79 // ---------------------------------------------------------------------------
80 // Miscellaneous mutators. 80 // Miscellaneous mutators.
81 81
82 static void ReplaceValueInput(Node* node, Node* value, int index); 82 static void ReplaceValueInput(Node* node, Node* value, int index);
83 static void ReplaceContextInput(Node* node, Node* context); 83 static void ReplaceContextInput(Node* node, Node* context);
84 static void ReplaceControlInput(Node* node, Node* control); 84 static void ReplaceControlInput(Node* node, Node* control);
85 static void ReplaceEffectInput(Node* node, Node* effect, int index = 0); 85 static void ReplaceEffectInput(Node* node, Node* effect, int index = 0);
86 static void ReplaceFrameStateInput(Node* node, int index, Node* frame_state); 86 static void ReplaceFrameStateInput(Node* node, int index, Node* frame_state);
87 static void RemoveFrameStateInput(Node* node, int index); 87 static void RemoveFrameStateInput(Node* node, int index);
88 static void RemoveNonValueInputs(Node* node); 88 static void RemoveNonValueInputs(Node* node);
89 static void RemoveValueInputs(Node* node);
89 90
90 // Merge the control node {node} into the end of the graph, introducing a 91 // Merge the control node {node} into the end of the graph, introducing a
91 // merge node or expanding an existing merge node if necessary. 92 // merge node or expanding an existing merge node if necessary.
92 static void MergeControlToEnd(Graph* graph, CommonOperatorBuilder* common, 93 static void MergeControlToEnd(Graph* graph, CommonOperatorBuilder* common,
93 Node* node); 94 Node* node);
94 95
95 // Replace all uses of {node} with the given replacement nodes. All occurring 96 // Replace all uses of {node} with the given replacement nodes. All occurring
96 // use kinds need to be replaced, {NULL} is only valid if a use kind is 97 // use kinds need to be replaced, {NULL} is only valid if a use kind is
97 // guaranteed not to exist. 98 // guaranteed not to exist.
98 static void ReplaceUses(Node* node, Node* value, Node* effect = nullptr, 99 static void ReplaceUses(Node* node, Node* value, Node* effect = nullptr,
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 133
133 private: 134 private:
134 static inline bool IsInputRange(Edge edge, int first, int count); 135 static inline bool IsInputRange(Edge edge, int first, int count);
135 }; 136 };
136 137
137 } // namespace compiler 138 } // namespace compiler
138 } // namespace internal 139 } // namespace internal
139 } // namespace v8 140 } // namespace v8
140 141
141 #endif // V8_COMPILER_NODE_PROPERTIES_H_ 142 #endif // V8_COMPILER_NODE_PROPERTIES_H_
OLDNEW
« no previous file with comments | « src/compiler/js-native-context-specialization.cc ('k') | src/compiler/node-properties.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698