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

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

Issue 2172223002: [stubs] Call interface descriptors cleanup. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@store-ic-tf
Patch Set: Addressing comments Created 4 years, 4 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/node.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_H_ 5 #ifndef V8_COMPILER_NODE_H_
6 #define V8_COMPILER_NODE_H_ 6 #define V8_COMPILER_NODE_H_
7 7
8 #include "src/compiler/opcodes.h" 8 #include "src/compiler/opcodes.h"
9 #include "src/compiler/operator.h" 9 #include "src/compiler/operator.h"
10 #include "src/types.h" 10 #include "src/types.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 if (old_to) old_to->RemoveUse(use); 93 if (old_to) old_to->RemoveUse(use);
94 *input_ptr = new_to; 94 *input_ptr = new_to;
95 if (new_to) new_to->AppendUse(use); 95 if (new_to) new_to->AppendUse(use);
96 } 96 }
97 } 97 }
98 98
99 #undef BOUNDS_CHECK 99 #undef BOUNDS_CHECK
100 100
101 void AppendInput(Zone* zone, Node* new_to); 101 void AppendInput(Zone* zone, Node* new_to);
102 void InsertInput(Zone* zone, int index, Node* new_to); 102 void InsertInput(Zone* zone, int index, Node* new_to);
103 void InsertInputs(Zone* zone, int index, int count);
103 void RemoveInput(int index); 104 void RemoveInput(int index);
104 void NullAllInputs(); 105 void NullAllInputs();
105 void TrimInputCount(int new_input_count); 106 void TrimInputCount(int new_input_count);
106 107
107 int UseCount() const; 108 int UseCount() const;
108 void ReplaceUses(Node* replace_to); 109 void ReplaceUses(Node* replace_to);
109 110
110 class InputEdges final { 111 class InputEdges final {
111 public: 112 public:
112 typedef Edge value_type; 113 typedef Edge value_type;
(...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after
555 } 556 }
556 557
557 558
558 Node::Uses::const_iterator Node::Uses::end() const { return const_iterator(); } 559 Node::Uses::const_iterator Node::Uses::end() const { return const_iterator(); }
559 560
560 } // namespace compiler 561 } // namespace compiler
561 } // namespace internal 562 } // namespace internal
562 } // namespace v8 563 } // namespace v8
563 564
564 #endif // V8_COMPILER_NODE_H_ 565 #endif // V8_COMPILER_NODE_H_
OLDNEW
« no previous file with comments | « src/compiler/js-generic-lowering.cc ('k') | src/compiler/node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698