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 29 matching lines...) Expand all Loading... |
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(); | 49 Node* FixedArrayMapConstant(); |
| 50 Node* FixedDoubleArrayMapConstant(); |
50 Node* HeapNumberMapConstant(); | 51 Node* HeapNumberMapConstant(); |
51 Node* OptimizedOutConstant(); | 52 Node* OptimizedOutConstant(); |
52 Node* StaleRegisterConstant(); | 53 Node* StaleRegisterConstant(); |
53 Node* UndefinedConstant(); | 54 Node* UndefinedConstant(); |
54 Node* TheHoleConstant(); | 55 Node* TheHoleConstant(); |
55 Node* TrueConstant(); | 56 Node* TrueConstant(); |
56 Node* FalseConstant(); | 57 Node* FalseConstant(); |
57 Node* NullConstant(); | 58 Node* NullConstant(); |
58 Node* ZeroConstant(); | 59 Node* ZeroConstant(); |
59 Node* OneConstant(); | 60 Node* OneConstant(); |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 private: | 152 private: |
152 enum CachedNode { | 153 enum CachedNode { |
153 kAllocateInNewSpaceStubConstant, | 154 kAllocateInNewSpaceStubConstant, |
154 kAllocateInOldSpaceStubConstant, | 155 kAllocateInOldSpaceStubConstant, |
155 kToNumberBuiltinConstant, | 156 kToNumberBuiltinConstant, |
156 kCEntryStubConstant, | 157 kCEntryStubConstant, |
157 kEmptyFixedArrayConstant, | 158 kEmptyFixedArrayConstant, |
158 kEmptyLiteralsArrayConstant, | 159 kEmptyLiteralsArrayConstant, |
159 kEmptyStringConstant, | 160 kEmptyStringConstant, |
160 kFixedArrayMapConstant, | 161 kFixedArrayMapConstant, |
| 162 kFixedDoubleArrayMapConstant, |
161 kHeapNumberMapConstant, | 163 kHeapNumberMapConstant, |
162 kOptimizedOutConstant, | 164 kOptimizedOutConstant, |
163 kStaleRegisterConstant, | 165 kStaleRegisterConstant, |
164 kUndefinedConstant, | 166 kUndefinedConstant, |
165 kTheHoleConstant, | 167 kTheHoleConstant, |
166 kTrueConstant, | 168 kTrueConstant, |
167 kFalseConstant, | 169 kFalseConstant, |
168 kNullConstant, | 170 kNullConstant, |
169 kZeroConstant, | 171 kZeroConstant, |
170 kOneConstant, | 172 kOneConstant, |
(...skipping 15 matching lines...) Expand all Loading... |
186 Node* NumberConstant(double value); | 188 Node* NumberConstant(double value); |
187 | 189 |
188 DISALLOW_COPY_AND_ASSIGN(JSGraph); | 190 DISALLOW_COPY_AND_ASSIGN(JSGraph); |
189 }; | 191 }; |
190 | 192 |
191 } // namespace compiler | 193 } // namespace compiler |
192 } // namespace internal | 194 } // namespace internal |
193 } // namespace v8 | 195 } // namespace v8 |
194 | 196 |
195 #endif | 197 #endif |
OLD | NEW |