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_ASSEMBLER_H_ | 5 #ifndef V8_COMPILER_CODE_ASSEMBLER_H_ |
6 #define V8_COMPILER_CODE_ASSEMBLER_H_ | 6 #define V8_COMPILER_CODE_ASSEMBLER_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <memory> | 9 #include <memory> |
10 | 10 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
49 V(Int32LessThan) \ | 49 V(Int32LessThan) \ |
50 V(Int32LessThanOrEqual) \ | 50 V(Int32LessThanOrEqual) \ |
51 V(IntPtrLessThan) \ | 51 V(IntPtrLessThan) \ |
52 V(IntPtrLessThanOrEqual) \ | 52 V(IntPtrLessThanOrEqual) \ |
53 V(IntPtrGreaterThan) \ | 53 V(IntPtrGreaterThan) \ |
54 V(IntPtrGreaterThanOrEqual) \ | 54 V(IntPtrGreaterThanOrEqual) \ |
55 V(IntPtrEqual) \ | 55 V(IntPtrEqual) \ |
56 V(Uint32LessThan) \ | 56 V(Uint32LessThan) \ |
57 V(Uint32GreaterThanOrEqual) \ | 57 V(Uint32GreaterThanOrEqual) \ |
58 V(UintPtrLessThan) \ | 58 V(UintPtrLessThan) \ |
| 59 V(UintPtrGreaterThan) \ |
59 V(UintPtrGreaterThanOrEqual) \ | 60 V(UintPtrGreaterThanOrEqual) \ |
60 V(WordEqual) \ | 61 V(WordEqual) \ |
61 V(WordNotEqual) \ | 62 V(WordNotEqual) \ |
62 V(Word32Equal) \ | 63 V(Word32Equal) \ |
63 V(Word32NotEqual) \ | 64 V(Word32NotEqual) \ |
64 V(Word64Equal) \ | 65 V(Word64Equal) \ |
65 V(Word64NotEqual) | 66 V(Word64NotEqual) |
66 | 67 |
67 #define CODE_ASSEMBLER_BINARY_OP_LIST(V) \ | 68 #define CODE_ASSEMBLER_BINARY_OP_LIST(V) \ |
68 CODE_ASSEMBLER_COMPARE_BINARY_OP_LIST(V) \ | 69 CODE_ASSEMBLER_COMPARE_BINARY_OP_LIST(V) \ |
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
312 Node* arg1); | 313 Node* arg1); |
313 Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context, | 314 Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context, |
314 Node* arg1, Node* arg2); | 315 Node* arg1, Node* arg2); |
315 Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context, | 316 Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context, |
316 Node* arg1, Node* arg2, Node* arg3); | 317 Node* arg1, Node* arg2, Node* arg3); |
317 Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context, | 318 Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context, |
318 Node* arg1, Node* arg2, Node* arg3, Node* arg4); | 319 Node* arg1, Node* arg2, Node* arg3, Node* arg4); |
319 Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context, | 320 Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context, |
320 Node* arg1, Node* arg2, Node* arg3, Node* arg4, | 321 Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
321 Node* arg5); | 322 Node* arg5); |
| 323 Node* TailCallRuntime(Runtime::FunctionId function_id, Node* context, |
| 324 Node* arg1, Node* arg2, Node* arg3, Node* arg4, |
| 325 Node* arg5, Node* arg6); |
322 | 326 |
323 // A pair of a zero-based argument index and a value. | 327 // A pair of a zero-based argument index and a value. |
324 // It helps writing arguments order independent code. | 328 // It helps writing arguments order independent code. |
325 struct Arg { | 329 struct Arg { |
326 Arg(int index, Node* value) : index(index), value(value) {} | 330 Arg(int index, Node* value) : index(index), value(value) {} |
327 | 331 |
328 int const index; | 332 int const index; |
329 Node* const value; | 333 Node* const value; |
330 }; | 334 }; |
331 | 335 |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
482 // Map of variables to the list of value nodes that have been added from each | 486 // Map of variables to the list of value nodes that have been added from each |
483 // merge path in their order of merging. | 487 // merge path in their order of merging. |
484 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; | 488 std::map<Variable::Impl*, std::vector<Node*>> variable_merges_; |
485 }; | 489 }; |
486 | 490 |
487 } // namespace compiler | 491 } // namespace compiler |
488 } // namespace internal | 492 } // namespace internal |
489 } // namespace v8 | 493 } // namespace v8 |
490 | 494 |
491 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ | 495 #endif // V8_COMPILER_CODE_ASSEMBLER_H_ |
OLD | NEW |