| 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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 426   } | 426   } | 
| 427   Node* TruncateFloat64ToFloat32(Node* a) { | 427   Node* TruncateFloat64ToFloat32(Node* a) { | 
| 428     return NewNode(machine()->TruncateFloat64ToFloat32(), a); | 428     return NewNode(machine()->TruncateFloat64ToFloat32(), a); | 
| 429   } | 429   } | 
| 430   Node* TruncateFloat64ToInt32(TruncationMode mode, Node* a) { | 430   Node* TruncateFloat64ToInt32(TruncationMode mode, Node* a) { | 
| 431     return NewNode(machine()->TruncateFloat64ToInt32(mode), a); | 431     return NewNode(machine()->TruncateFloat64ToInt32(mode), a); | 
| 432   } | 432   } | 
| 433   Node* TruncateInt64ToInt32(Node* a) { | 433   Node* TruncateInt64ToInt32(Node* a) { | 
| 434     return NewNode(machine()->TruncateInt64ToInt32(), a); | 434     return NewNode(machine()->TruncateInt64ToInt32(), a); | 
| 435   } | 435   } | 
|  | 436   Node* BitcastFloat32ToInt32(Node* a) { | 
|  | 437     return NewNode(machine()->BitcastFloat32ToInt32(), a); | 
|  | 438   } | 
|  | 439   Node* BitcastFloat64ToInt64(Node* a) { | 
|  | 440     return NewNode(machine()->BitcastFloat64ToInt64(), a); | 
|  | 441   } | 
|  | 442   Node* BitcastInt32ToFloat32(Node* a) { | 
|  | 443     return NewNode(machine()->BitcastInt32ToFloat32(), a); | 
|  | 444   } | 
|  | 445   Node* BitcastInt64ToFloat64(Node* a) { | 
|  | 446     return NewNode(machine()->BitcastInt64ToFloat64(), a); | 
|  | 447   } | 
| 436   Node* Float64RoundDown(Node* a) { | 448   Node* Float64RoundDown(Node* a) { | 
| 437     return NewNode(machine()->Float64RoundDown().op(), a); | 449     return NewNode(machine()->Float64RoundDown().op(), a); | 
| 438   } | 450   } | 
| 439   Node* Float64RoundTruncate(Node* a) { | 451   Node* Float64RoundTruncate(Node* a) { | 
| 440     return NewNode(machine()->Float64RoundTruncate().op(), a); | 452     return NewNode(machine()->Float64RoundTruncate().op(), a); | 
| 441   } | 453   } | 
| 442   Node* Float64RoundTiesAway(Node* a) { | 454   Node* Float64RoundTiesAway(Node* a) { | 
| 443     return NewNode(machine()->Float64RoundTiesAway().op(), a); | 455     return NewNode(machine()->Float64RoundTiesAway().op(), a); | 
| 444   } | 456   } | 
| 445 | 457 | 
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 590   BasicBlock* current_block_; | 602   BasicBlock* current_block_; | 
| 591 | 603 | 
| 592   DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 604   DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 
| 593 }; | 605 }; | 
| 594 | 606 | 
| 595 }  // namespace compiler | 607 }  // namespace compiler | 
| 596 }  // namespace internal | 608 }  // namespace internal | 
| 597 }  // namespace v8 | 609 }  // namespace v8 | 
| 598 | 610 | 
| 599 #endif  // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 611 #endif  // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 
| OLD | NEW | 
|---|