| 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 375 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 386   } | 386   } | 
| 387   Node* Float64Floor(Node* a) { return NewNode(machine()->Float64Floor(), a); } | 387   Node* Float64Floor(Node* a) { return NewNode(machine()->Float64Floor(), a); } | 
| 388   Node* Float64Ceil(Node* a) { return NewNode(machine()->Float64Ceil(), a); } | 388   Node* Float64Ceil(Node* a) { return NewNode(machine()->Float64Ceil(), a); } | 
| 389   Node* Float64RoundTruncate(Node* a) { | 389   Node* Float64RoundTruncate(Node* a) { | 
| 390     return NewNode(machine()->Float64RoundTruncate(), a); | 390     return NewNode(machine()->Float64RoundTruncate(), a); | 
| 391   } | 391   } | 
| 392   Node* Float64RoundTiesAway(Node* a) { | 392   Node* Float64RoundTiesAway(Node* a) { | 
| 393     return NewNode(machine()->Float64RoundTiesAway(), a); | 393     return NewNode(machine()->Float64RoundTiesAway(), a); | 
| 394   } | 394   } | 
| 395 | 395 | 
|  | 396   // Float64 bit operations. | 
|  | 397   Node* Float64ExtractWord32(int location, Node* a) { | 
|  | 398     return NewNode(machine()->Float64ExtractWord32(location), a); | 
|  | 399   } | 
|  | 400   Node* Float64InsertWord32(int location, Node* a, Node* b) { | 
|  | 401     return NewNode(machine()->Float64InsertWord32(location), a, b); | 
|  | 402   } | 
|  | 403 | 
| 396   // Parameters. | 404   // Parameters. | 
| 397   Node* Parameter(size_t index); | 405   Node* Parameter(size_t index); | 
| 398 | 406 | 
| 399   // Control flow. | 407   // Control flow. | 
| 400   Label* Exit(); | 408   Label* Exit(); | 
| 401   void Goto(Label* label); | 409   void Goto(Label* label); | 
| 402   void Branch(Node* condition, Label* true_val, Label* false_val); | 410   void Branch(Node* condition, Label* true_val, Label* false_val); | 
| 403   void Switch(Node* index, Label* default_label, int32_t* case_values, | 411   void Switch(Node* index, Label* default_label, int32_t* case_values, | 
| 404               Label** case_labels, size_t case_count); | 412               Label** case_labels, size_t case_count); | 
| 405   // Call through CallFunctionStub with lazy deopt and frame-state. | 413   // Call through CallFunctionStub with lazy deopt and frame-state. | 
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 455   BasicBlock* current_block_; | 463   BasicBlock* current_block_; | 
| 456 | 464 | 
| 457   DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 465   DISALLOW_COPY_AND_ASSIGN(RawMachineAssembler); | 
| 458 }; | 466 }; | 
| 459 | 467 | 
| 460 }  // namespace compiler | 468 }  // namespace compiler | 
| 461 }  // namespace internal | 469 }  // namespace internal | 
| 462 }  // namespace v8 | 470 }  // namespace v8 | 
| 463 | 471 | 
| 464 #endif  // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 472 #endif  // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ | 
| OLD | NEW | 
|---|