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/base/compiler-specific.h" | 8 #include "src/base/compiler-specific.h" |
9 #include "src/compiler/common-node-cache.h" | 9 #include "src/compiler/common-node-cache.h" |
10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 | 42 |
43 // Canonicalized global constants. | 43 // Canonicalized global constants. |
44 Node* AllocateInNewSpaceStubConstant(); | 44 Node* AllocateInNewSpaceStubConstant(); |
45 Node* AllocateInOldSpaceStubConstant(); | 45 Node* AllocateInOldSpaceStubConstant(); |
46 Node* ToNumberBuiltinConstant(); | 46 Node* ToNumberBuiltinConstant(); |
47 Node* CEntryStubConstant(int result_size, | 47 Node* CEntryStubConstant(int result_size, |
48 SaveFPRegsMode save_doubles = kDontSaveFPRegs, | 48 SaveFPRegsMode save_doubles = kDontSaveFPRegs, |
49 ArgvMode argv_mode = kArgvOnStack, | 49 ArgvMode argv_mode = kArgvOnStack, |
50 bool builtin_exit_frame = false); | 50 bool builtin_exit_frame = false); |
51 Node* EmptyFixedArrayConstant(); | 51 Node* EmptyFixedArrayConstant(); |
52 Node* EmptyLiteralsArrayConstant(); | 52 Node* EmptyFeedbackVectorConstant(); |
53 Node* EmptyStringConstant(); | 53 Node* EmptyStringConstant(); |
54 Node* FixedArrayMapConstant(); | 54 Node* FixedArrayMapConstant(); |
55 Node* FixedDoubleArrayMapConstant(); | 55 Node* FixedDoubleArrayMapConstant(); |
56 Node* HeapNumberMapConstant(); | 56 Node* HeapNumberMapConstant(); |
57 Node* OptimizedOutConstant(); | 57 Node* OptimizedOutConstant(); |
58 Node* StaleRegisterConstant(); | 58 Node* StaleRegisterConstant(); |
59 Node* UndefinedConstant(); | 59 Node* UndefinedConstant(); |
60 Node* TheHoleConstant(); | 60 Node* TheHoleConstant(); |
61 Node* TrueConstant(); | 61 Node* TrueConstant(); |
62 Node* FalseConstant(); | 62 Node* FalseConstant(); |
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
160 private: | 160 private: |
161 enum CachedNode { | 161 enum CachedNode { |
162 kAllocateInNewSpaceStubConstant, | 162 kAllocateInNewSpaceStubConstant, |
163 kAllocateInOldSpaceStubConstant, | 163 kAllocateInOldSpaceStubConstant, |
164 kToNumberBuiltinConstant, | 164 kToNumberBuiltinConstant, |
165 kCEntryStub1Constant, | 165 kCEntryStub1Constant, |
166 kCEntryStub2Constant, | 166 kCEntryStub2Constant, |
167 kCEntryStub3Constant, | 167 kCEntryStub3Constant, |
168 kCEntryStub1WithBuiltinExitFrameConstant, | 168 kCEntryStub1WithBuiltinExitFrameConstant, |
169 kEmptyFixedArrayConstant, | 169 kEmptyFixedArrayConstant, |
170 kEmptyLiteralsArrayConstant, | 170 kEmptyFeedbackVectorConstant, |
171 kEmptyStringConstant, | 171 kEmptyStringConstant, |
172 kFixedArrayMapConstant, | 172 kFixedArrayMapConstant, |
173 kFixedDoubleArrayMapConstant, | 173 kFixedDoubleArrayMapConstant, |
174 kHeapNumberMapConstant, | 174 kHeapNumberMapConstant, |
175 kOptimizedOutConstant, | 175 kOptimizedOutConstant, |
176 kStaleRegisterConstant, | 176 kStaleRegisterConstant, |
177 kUndefinedConstant, | 177 kUndefinedConstant, |
178 kTheHoleConstant, | 178 kTheHoleConstant, |
179 kTrueConstant, | 179 kTrueConstant, |
180 kFalseConstant, | 180 kFalseConstant, |
(...skipping 18 matching lines...) Expand all Loading... |
199 Node* NumberConstant(double value); | 199 Node* NumberConstant(double value); |
200 | 200 |
201 DISALLOW_COPY_AND_ASSIGN(JSGraph); | 201 DISALLOW_COPY_AND_ASSIGN(JSGraph); |
202 }; | 202 }; |
203 | 203 |
204 } // namespace compiler | 204 } // namespace compiler |
205 } // namespace internal | 205 } // namespace internal |
206 } // namespace v8 | 206 } // namespace v8 |
207 | 207 |
208 #endif | 208 #endif |
OLD | NEW |