| 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_RAW_MACHINE_ASSEMBLER_H_ | 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| 7 | 7 |
| 8 #include "src/assembler.h" | 8 #include "src/assembler.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 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 323 } | 323 } |
| 324 Node* Uint64Mod(Node* a, Node* b) { | 324 Node* Uint64Mod(Node* a, Node* b) { |
| 325 return AddNode(machine()->Uint64Mod(), a, b); | 325 return AddNode(machine()->Uint64Mod(), a, b); |
| 326 } | 326 } |
| 327 Node* Int32PairAdd(Node* a_low, Node* a_high, Node* b_low, Node* b_high) { | 327 Node* Int32PairAdd(Node* a_low, Node* a_high, Node* b_low, Node* b_high) { |
| 328 return AddNode(machine()->Int32PairAdd(), a_low, a_high, b_low, b_high); | 328 return AddNode(machine()->Int32PairAdd(), a_low, a_high, b_low, b_high); |
| 329 } | 329 } |
| 330 Node* Int32PairSub(Node* a_low, Node* a_high, Node* b_low, Node* b_high) { | 330 Node* Int32PairSub(Node* a_low, Node* a_high, Node* b_low, Node* b_high) { |
| 331 return AddNode(machine()->Int32PairSub(), a_low, a_high, b_low, b_high); | 331 return AddNode(machine()->Int32PairSub(), a_low, a_high, b_low, b_high); |
| 332 } | 332 } |
| 333 Node* Int32PairMul(Node* a_low, Node* a_high, Node* b_low, Node* b_high) { |
| 334 return AddNode(machine()->Int32PairMul(), a_low, a_high, b_low, b_high); |
| 335 } |
| 333 Node* Word32PairShl(Node* low_word, Node* high_word, Node* shift) { | 336 Node* Word32PairShl(Node* low_word, Node* high_word, Node* shift) { |
| 334 return AddNode(machine()->Word32PairShl(), low_word, high_word, shift); | 337 return AddNode(machine()->Word32PairShl(), low_word, high_word, shift); |
| 335 } | 338 } |
| 336 Node* Word32PairShr(Node* low_word, Node* high_word, Node* shift) { | 339 Node* Word32PairShr(Node* low_word, Node* high_word, Node* shift) { |
| 337 return AddNode(machine()->Word32PairShr(), low_word, high_word, shift); | 340 return AddNode(machine()->Word32PairShr(), low_word, high_word, shift); |
| 338 } | 341 } |
| 339 Node* Word32PairSar(Node* low_word, Node* high_word, Node* shift) { | 342 Node* Word32PairSar(Node* low_word, Node* high_word, Node* shift) { |
| 340 return AddNode(machine()->Word32PairSar(), low_word, high_word, shift); | 343 return AddNode(machine()->Word32PairSar(), low_word, high_word, shift); |
| 341 } | 344 } |
| 342 | 345 |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 728 bool deferred_; | 731 bool deferred_; |
| 729 friend class RawMachineAssembler; | 732 friend class RawMachineAssembler; |
| 730 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 733 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
| 731 }; | 734 }; |
| 732 | 735 |
| 733 } // namespace compiler | 736 } // namespace compiler |
| 734 } // namespace internal | 737 } // namespace internal |
| 735 } // namespace v8 | 738 } // namespace v8 |
| 736 | 739 |
| 737 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 740 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |