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 25 matching lines...) Expand all Loading... |
36 machine_(machine), | 36 machine_(machine), |
37 cache_(zone()) { | 37 cache_(zone()) { |
38 for (int i = 0; i < kNumCachedNodes; i++) cached_nodes_[i] = nullptr; | 38 for (int i = 0; i < kNumCachedNodes; i++) cached_nodes_[i] = nullptr; |
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* CEntryStubConstant(int result_size, SaveFPRegsMode save_doubles, |
| 47 ArgvMode argv_mode, bool builtin_exit_frame); |
46 Node* EmptyFixedArrayConstant(); | 48 Node* EmptyFixedArrayConstant(); |
47 Node* EmptyLiteralsArrayConstant(); | 49 Node* EmptyLiteralsArrayConstant(); |
48 Node* EmptyStringConstant(); | 50 Node* EmptyStringConstant(); |
49 Node* FixedArrayMapConstant(); | 51 Node* FixedArrayMapConstant(); |
50 Node* FixedDoubleArrayMapConstant(); | 52 Node* FixedDoubleArrayMapConstant(); |
51 Node* HeapNumberMapConstant(); | 53 Node* HeapNumberMapConstant(); |
52 Node* OptimizedOutConstant(); | 54 Node* OptimizedOutConstant(); |
53 Node* StaleRegisterConstant(); | 55 Node* StaleRegisterConstant(); |
54 Node* UndefinedConstant(); | 56 Node* UndefinedConstant(); |
55 Node* TheHoleConstant(); | 57 Node* TheHoleConstant(); |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 Node* NumberConstant(double value); | 190 Node* NumberConstant(double value); |
189 | 191 |
190 DISALLOW_COPY_AND_ASSIGN(JSGraph); | 192 DISALLOW_COPY_AND_ASSIGN(JSGraph); |
191 }; | 193 }; |
192 | 194 |
193 } // namespace compiler | 195 } // namespace compiler |
194 } // namespace internal | 196 } // namespace internal |
195 } // namespace v8 | 197 } // namespace v8 |
196 | 198 |
197 #endif | 199 #endif |
OLD | NEW |