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

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

Issue 841443004: [turbofan] Allow deoptimization for JSToNumber operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase Created 5 years, 11 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-typed-lowering.cc ('k') | src/compiler/node-properties-inl.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 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 14 matching lines...) Expand all
25 25
26 static inline int GetFrameStateIndex(Node* node); 26 static inline int GetFrameStateIndex(Node* node);
27 27
28 static inline bool IsValueEdge(Edge edge); 28 static inline bool IsValueEdge(Edge edge);
29 static inline bool IsContextEdge(Edge edge); 29 static inline bool IsContextEdge(Edge edge);
30 static inline bool IsEffectEdge(Edge edge); 30 static inline bool IsEffectEdge(Edge edge);
31 static inline bool IsControlEdge(Edge edge); 31 static inline bool IsControlEdge(Edge edge);
32 32
33 static inline bool IsControl(Node* node); 33 static inline bool IsControl(Node* node);
34 34
35 static inline void ReplaceContextInput(Node* node, Node* context);
35 static inline void ReplaceControlInput(Node* node, Node* control); 36 static inline void ReplaceControlInput(Node* node, Node* control);
36 static inline void ReplaceEffectInput(Node* node, Node* effect, 37 static inline void ReplaceEffectInput(Node* node, Node* effect,
37 int index = 0); 38 int index = 0);
38 static inline void ReplaceFrameStateInput(Node* node, Node* frame_state); 39 static inline void ReplaceFrameStateInput(Node* node, Node* frame_state);
39 static inline void RemoveNonValueInputs(Node* node); 40 static inline void RemoveNonValueInputs(Node* node);
40 static inline void ReplaceWithValue(Node* node, Node* value, 41 static inline void ReplaceWithValue(Node* node, Node* value,
41 Node* effect = NULL); 42 Node* effect = NULL);
42 43
43 static inline bool IsTyped(Node* node); 44 static inline bool IsTyped(Node* node);
44 static inline Bounds GetBounds(Node* node); 45 static inline Bounds GetBounds(Node* node);
(...skipping 13 matching lines...) Expand all
58 static inline int PastControlIndex(Node* node); 59 static inline int PastControlIndex(Node* node);
59 60
60 static inline bool IsInputRange(Edge edge, int first, int count); 61 static inline bool IsInputRange(Edge edge, int first, int count);
61 }; 62 };
62 63
63 } // namespace compiler 64 } // namespace compiler
64 } // namespace internal 65 } // namespace internal
65 } // namespace v8 66 } // namespace v8
66 67
67 #endif // V8_COMPILER_NODE_PROPERTIES_H_ 68 #endif // V8_COMPILER_NODE_PROPERTIES_H_
OLDNEW
« no previous file with comments | « src/compiler/js-typed-lowering.cc ('k') | src/compiler/node-properties-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698