OLD | NEW |
1 // Copyright 2014 the V8 project authors. All rights reserved. | 1 // Copyright 2014 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_JS_GRAPH_H_ | 5 #ifndef V8_COMPILER_JS_GRAPH_H_ |
6 #define V8_COMPILER_JS_GRAPH_H_ | 6 #define V8_COMPILER_JS_GRAPH_H_ |
7 | 7 |
8 #include "src/compiler/common-node-cache.h" | 8 #include "src/compiler/common-node-cache.h" |
9 #include "src/compiler/common-operator.h" | 9 #include "src/compiler/common-operator.h" |
10 #include "src/compiler/graph.h" | 10 #include "src/compiler/graph.h" |
(...skipping 28 matching lines...) Expand all Loading... |
39 } | 39 } |
40 | 40 |
41 // Canonicalized global constants. | 41 // Canonicalized global constants. |
42 Node* AllocateInNewSpaceStubConstant(); | 42 Node* AllocateInNewSpaceStubConstant(); |
43 Node* AllocateInOldSpaceStubConstant(); | 43 Node* AllocateInOldSpaceStubConstant(); |
44 Node* ToNumberBuiltinConstant(); | 44 Node* ToNumberBuiltinConstant(); |
45 Node* CEntryStubConstant(int result_size); | 45 Node* CEntryStubConstant(int result_size); |
46 Node* EmptyFixedArrayConstant(); | 46 Node* EmptyFixedArrayConstant(); |
47 Node* EmptyLiteralsArrayConstant(); | 47 Node* EmptyLiteralsArrayConstant(); |
48 Node* EmptyStringConstant(); | 48 Node* EmptyStringConstant(); |
49 Node* FixedArrayMapConstant(); | |
50 Node* HeapNumberMapConstant(); | 49 Node* HeapNumberMapConstant(); |
51 Node* OptimizedOutConstant(); | 50 Node* OptimizedOutConstant(); |
52 Node* StaleRegisterConstant(); | 51 Node* StaleRegisterConstant(); |
53 Node* UndefinedConstant(); | 52 Node* UndefinedConstant(); |
54 Node* TheHoleConstant(); | 53 Node* TheHoleConstant(); |
55 Node* TrueConstant(); | 54 Node* TrueConstant(); |
56 Node* FalseConstant(); | 55 Node* FalseConstant(); |
57 Node* NullConstant(); | 56 Node* NullConstant(); |
58 Node* ZeroConstant(); | 57 Node* ZeroConstant(); |
59 Node* OneConstant(); | 58 Node* OneConstant(); |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 | 149 |
151 private: | 150 private: |
152 enum CachedNode { | 151 enum CachedNode { |
153 kAllocateInNewSpaceStubConstant, | 152 kAllocateInNewSpaceStubConstant, |
154 kAllocateInOldSpaceStubConstant, | 153 kAllocateInOldSpaceStubConstant, |
155 kToNumberBuiltinConstant, | 154 kToNumberBuiltinConstant, |
156 kCEntryStubConstant, | 155 kCEntryStubConstant, |
157 kEmptyFixedArrayConstant, | 156 kEmptyFixedArrayConstant, |
158 kEmptyLiteralsArrayConstant, | 157 kEmptyLiteralsArrayConstant, |
159 kEmptyStringConstant, | 158 kEmptyStringConstant, |
160 kFixedArrayMapConstant, | |
161 kHeapNumberMapConstant, | 159 kHeapNumberMapConstant, |
162 kOptimizedOutConstant, | 160 kOptimizedOutConstant, |
163 kStaleRegisterConstant, | 161 kStaleRegisterConstant, |
164 kUndefinedConstant, | 162 kUndefinedConstant, |
165 kTheHoleConstant, | 163 kTheHoleConstant, |
166 kTrueConstant, | 164 kTrueConstant, |
167 kFalseConstant, | 165 kFalseConstant, |
168 kNullConstant, | 166 kNullConstant, |
169 kZeroConstant, | 167 kZeroConstant, |
170 kOneConstant, | 168 kOneConstant, |
(...skipping 15 matching lines...) Expand all Loading... |
186 Node* NumberConstant(double value); | 184 Node* NumberConstant(double value); |
187 | 185 |
188 DISALLOW_COPY_AND_ASSIGN(JSGraph); | 186 DISALLOW_COPY_AND_ASSIGN(JSGraph); |
189 }; | 187 }; |
190 | 188 |
191 } // namespace compiler | 189 } // namespace compiler |
192 } // namespace internal | 190 } // namespace internal |
193 } // namespace v8 | 191 } // namespace v8 |
194 | 192 |
195 #endif | 193 #endif |
OLD | NEW |