| 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/compiler/common-operator.h" | 8 #include "src/compiler/common-operator.h" |
| 9 #include "src/compiler/graph-builder.h" | 9 #include "src/compiler/graph-builder.h" |
| 10 #include "src/compiler/linkage.h" | 10 #include "src/compiler/linkage.h" |
| (...skipping 398 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 409 Node* TruncateFloat64ToFloat32(Node* a) { | 409 Node* TruncateFloat64ToFloat32(Node* a) { |
| 410 return NewNode(machine()->TruncateFloat64ToFloat32(), a); | 410 return NewNode(machine()->TruncateFloat64ToFloat32(), a); |
| 411 } | 411 } |
| 412 Node* TruncateFloat64ToInt32(Node* a) { | 412 Node* TruncateFloat64ToInt32(Node* a) { |
| 413 return NewNode(machine()->TruncateFloat64ToInt32(), a); | 413 return NewNode(machine()->TruncateFloat64ToInt32(), a); |
| 414 } | 414 } |
| 415 Node* TruncateInt64ToInt32(Node* a) { | 415 Node* TruncateInt64ToInt32(Node* a) { |
| 416 return NewNode(machine()->TruncateInt64ToInt32(), a); | 416 return NewNode(machine()->TruncateInt64ToInt32(), a); |
| 417 } | 417 } |
| 418 Node* Float64RoundDown(Node* a) { | 418 Node* Float64RoundDown(Node* a) { |
| 419 return NewNode(machine()->Float64RoundDown(), a); | 419 return NewNode(machine()->Float64RoundDown().op(), a); |
| 420 } | 420 } |
| 421 Node* Float64RoundTruncate(Node* a) { | 421 Node* Float64RoundTruncate(Node* a) { |
| 422 return NewNode(machine()->Float64RoundTruncate(), a); | 422 return NewNode(machine()->Float64RoundTruncate().op(), a); |
| 423 } | 423 } |
| 424 Node* Float64RoundTiesAway(Node* a) { | 424 Node* Float64RoundTiesAway(Node* a) { |
| 425 return NewNode(machine()->Float64RoundTiesAway(), a); | 425 return NewNode(machine()->Float64RoundTiesAway().op(), a); |
| 426 } | 426 } |
| 427 | 427 |
| 428 // Float64 bit operations. | 428 // Float64 bit operations. |
| 429 Node* Float64ExtractLowWord32(Node* a) { | 429 Node* Float64ExtractLowWord32(Node* a) { |
| 430 return NewNode(machine()->Float64ExtractLowWord32(), a); | 430 return NewNode(machine()->Float64ExtractLowWord32(), a); |
| 431 } | 431 } |
| 432 Node* Float64ExtractHighWord32(Node* a) { | 432 Node* Float64ExtractHighWord32(Node* a) { |
| 433 return NewNode(machine()->Float64ExtractHighWord32(), a); | 433 return NewNode(machine()->Float64ExtractHighWord32(), a); |
| 434 } | 434 } |
| 435 Node* Float64InsertLowWord32(Node* a, Node* b) { | 435 Node* Float64InsertLowWord32(Node* a, Node* b) { |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 BasicBlock* current_block_; | 514 BasicBlock* current_block_; |
| 515 | 515 |
| 516 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 516 DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); |
| 517 }; | 517 }; |
| 518 | 518 |
| 519 } // namespace compiler | 519 } // namespace compiler |
| 520 } // namespace internal | 520 } // namespace internal |
| 521 } // namespace v8 | 521 } // namespace v8 |
| 522 | 522 |
| 523 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 523 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ |
| OLD | NEW |