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 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
248 } | 248 } |
249 Node* Int32SubWithOverflow(Node* a, Node* b) { | 249 Node* Int32SubWithOverflow(Node* a, Node* b) { |
250 return AddNode(machine()->Int32SubWithOverflow(), a, b); | 250 return AddNode(machine()->Int32SubWithOverflow(), a, b); |
251 } | 251 } |
252 Node* Int32Mul(Node* a, Node* b) { | 252 Node* Int32Mul(Node* a, Node* b) { |
253 return AddNode(machine()->Int32Mul(), a, b); | 253 return AddNode(machine()->Int32Mul(), a, b); |
254 } | 254 } |
255 Node* Int32MulHigh(Node* a, Node* b) { | 255 Node* Int32MulHigh(Node* a, Node* b) { |
256 return AddNode(machine()->Int32MulHigh(), a, b); | 256 return AddNode(machine()->Int32MulHigh(), a, b); |
257 } | 257 } |
| 258 Node* Int32MulWithOverflow(Node* a, Node* b) { |
| 259 return AddNode(machine()->Int32MulWithOverflow(), a, b); |
| 260 } |
258 Node* Int32Div(Node* a, Node* b) { | 261 Node* Int32Div(Node* a, Node* b) { |
259 return AddNode(machine()->Int32Div(), a, b); | 262 return AddNode(machine()->Int32Div(), a, b); |
260 } | 263 } |
261 Node* Int32Mod(Node* a, Node* b) { | 264 Node* Int32Mod(Node* a, Node* b) { |
262 return AddNode(machine()->Int32Mod(), a, b); | 265 return AddNode(machine()->Int32Mod(), a, b); |
263 } | 266 } |
264 Node* Int32LessThan(Node* a, Node* b) { | 267 Node* Int32LessThan(Node* a, Node* b) { |
265 return AddNode(machine()->Int32LessThan(), a, b); | 268 return AddNode(machine()->Int32LessThan(), a, b); |
266 } | 269 } |
267 Node* Int32LessThanOrEqual(Node* a, Node* b) { | 270 Node* Int32LessThanOrEqual(Node* a, Node* b) { |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
795 bool deferred_; | 798 bool deferred_; |
796 friend class RawMachineAssembler; | 799 friend class RawMachineAssembler; |
797 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); | 800 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); |
798 }; | 801 }; |
799 | 802 |
800 } // namespace compiler | 803 } // namespace compiler |
801 } // namespace internal | 804 } // namespace internal |
802 } // namespace v8 | 805 } // namespace v8 |
803 | 806 |
804 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 807 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |