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