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/v8.h" | 8 #include "src/v8.h" |
9 | 9 |
10 #include "src/compiler/common-operator.h" | 10 #include "src/compiler/common-operator.h" |
(...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 } | 218 } |
219 Node* Int32Sub(Node* a, Node* b) { | 219 Node* Int32Sub(Node* a, Node* b) { |
220 return NewNode(machine()->Int32Sub(), a, b); | 220 return NewNode(machine()->Int32Sub(), a, b); |
221 } | 221 } |
222 Node* Int32SubWithOverflow(Node* a, Node* b) { | 222 Node* Int32SubWithOverflow(Node* a, Node* b) { |
223 return NewNode(machine()->Int32SubWithOverflow(), a, b); | 223 return NewNode(machine()->Int32SubWithOverflow(), a, b); |
224 } | 224 } |
225 Node* Int32Mul(Node* a, Node* b) { | 225 Node* Int32Mul(Node* a, Node* b) { |
226 return NewNode(machine()->Int32Mul(), a, b); | 226 return NewNode(machine()->Int32Mul(), a, b); |
227 } | 227 } |
| 228 Node* Int32MulHigh(Node* a, Node* b) { |
| 229 return NewNode(machine()->Int32MulHigh(), a, b); |
| 230 } |
228 Node* Int32Div(Node* a, Node* b) { | 231 Node* Int32Div(Node* a, Node* b) { |
229 return NewNode(machine()->Int32Div(), a, b); | 232 return NewNode(machine()->Int32Div(), a, b); |
230 } | 233 } |
231 Node* Int32Mod(Node* a, Node* b) { | 234 Node* Int32Mod(Node* a, Node* b) { |
232 return NewNode(machine()->Int32Mod(), a, b); | 235 return NewNode(machine()->Int32Mod(), a, b); |
233 } | 236 } |
234 Node* Int32LessThan(Node* a, Node* b) { | 237 Node* Int32LessThan(Node* a, Node* b) { |
235 return NewNode(machine()->Int32LessThan(), a, b); | 238 return NewNode(machine()->Int32LessThan(), a, b); |
236 } | 239 } |
237 Node* Int32LessThanOrEqual(Node* a, Node* b) { | 240 Node* Int32LessThanOrEqual(Node* a, Node* b) { |
(...skipping 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
438 BasicBlock* current_block_; | 441 BasicBlock* current_block_; |
439 | 442 |
440 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 443 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); |
441 }; | 444 }; |
442 | 445 |
443 } // namespace compiler | 446 } // namespace compiler |
444 } // namespace internal | 447 } // namespace internal |
445 } // namespace v8 | 448 } // namespace v8 |
446 | 449 |
447 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 450 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
OLD | NEW |