OLD | NEW |
1 // Copyright 2015 the V8 project authors. All rights reserved. | 1 // Copyright 2015 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_CODE_STUB_ASSEMBLER_H_ | 5 #ifndef V8_COMPILER_CODE_STUB_ASSEMBLER_H_ |
6 #define V8_COMPILER_CODE_STUB_ASSEMBLER_H_ | 6 #define V8_COMPILER_CODE_STUB_ASSEMBLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 | 9 |
10 // Clients of this interface shouldn't depend on lots of compiler internals. | 10 // Clients of this interface shouldn't depend on lots of compiler internals. |
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
58 V(Word32Sar) \ | 58 V(Word32Sar) \ |
59 V(Word32Ror) \ | 59 V(Word32Ror) \ |
60 V(Word64Equal) \ | 60 V(Word64Equal) \ |
61 V(Word64NotEqual) \ | 61 V(Word64NotEqual) \ |
62 V(Word64Or) \ | 62 V(Word64Or) \ |
63 V(Word64And) \ | 63 V(Word64And) \ |
64 V(Word64Xor) \ | 64 V(Word64Xor) \ |
65 V(Word64Shr) \ | 65 V(Word64Shr) \ |
66 V(Word64Sar) \ | 66 V(Word64Sar) \ |
67 V(Word64Ror) \ | 67 V(Word64Ror) \ |
| 68 V(Int32GreaterThan) \ |
| 69 V(Int32GreaterThanOrEqual) \ |
68 V(UintPtrGreaterThanOrEqual) | 70 V(UintPtrGreaterThanOrEqual) |
69 | 71 |
70 class CodeStubAssembler { | 72 class CodeStubAssembler { |
71 public: | 73 public: |
72 // |result_size| specifies the number of results returned by the stub. | 74 // |result_size| specifies the number of results returned by the stub. |
73 // TODO(rmcilroy): move result_size to the CallInterfaceDescriptor. | 75 // TODO(rmcilroy): move result_size to the CallInterfaceDescriptor. |
74 CodeStubAssembler(Isolate* isolate, Zone* zone, | 76 CodeStubAssembler(Isolate* isolate, Zone* zone, |
75 const CallInterfaceDescriptor& descriptor, | 77 const CallInterfaceDescriptor& descriptor, |
76 Code::Flags flags, const char* name, | 78 Code::Flags flags, const char* name, |
77 size_t result_size = 1); | 79 size_t result_size = 1); |
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 // Map of variables to the list of value nodes that have been added from each | 264 // Map of variables to the list of value nodes that have been added from each |
263 // merge path in their order of merging. | 265 // merge path in their order of merging. |
264 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; | 266 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; |
265 }; | 267 }; |
266 | 268 |
267 } // namespace compiler | 269 } // namespace compiler |
268 } // namespace internal | 270 } // namespace internal |
269 } // namespace v8 | 271 } // namespace v8 |
270 | 272 |
271 #endif // V8_COMPILER_CODE_STUB_ASSEMBLER_H_ | 273 #endif // V8_COMPILER_CODE_STUB_ASSEMBLER_H_ |
OLD | NEW |