Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: src/compiler/raw-machine-assembler.h

Issue 1760613002: [wasm] Removed dead code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | test/cctest/compiler/test-run-machops.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 439 matching lines...) Expand 10 before | Expand all | Expand 10 after
450 } 450 }
451 Node* TruncateFloat32ToInt32(Node* a) { 451 Node* TruncateFloat32ToInt32(Node* a) {
452 return AddNode(machine()->TruncateFloat32ToInt32(), a); 452 return AddNode(machine()->TruncateFloat32ToInt32(), a);
453 } 453 }
454 Node* TruncateFloat32ToUint32(Node* a) { 454 Node* TruncateFloat32ToUint32(Node* a) {
455 return AddNode(machine()->TruncateFloat32ToUint32(), a); 455 return AddNode(machine()->TruncateFloat32ToUint32(), a);
456 } 456 }
457 Node* TryTruncateFloat32ToInt64(Node* a) { 457 Node* TryTruncateFloat32ToInt64(Node* a) {
458 return AddNode(machine()->TryTruncateFloat32ToInt64(), a); 458 return AddNode(machine()->TryTruncateFloat32ToInt64(), a);
459 } 459 }
460 Node* TruncateFloat64ToInt64(Node* a) {
461 // TODO(ahaas): Remove this function as soon as it is not used anymore in
462 // WebAssembly.
463 return AddNode(machine()->TryTruncateFloat64ToInt64(), a);
464 }
465 Node* TryTruncateFloat64ToInt64(Node* a) { 460 Node* TryTruncateFloat64ToInt64(Node* a) {
466 return AddNode(machine()->TryTruncateFloat64ToInt64(), a); 461 return AddNode(machine()->TryTruncateFloat64ToInt64(), a);
467 } 462 }
468 Node* TryTruncateFloat32ToUint64(Node* a) { 463 Node* TryTruncateFloat32ToUint64(Node* a) {
469 return AddNode(machine()->TryTruncateFloat32ToUint64(), a); 464 return AddNode(machine()->TryTruncateFloat32ToUint64(), a);
470 } 465 }
471 Node* TruncateFloat64ToUint64(Node* a) {
472 // TODO(ahaas): Remove this function as soon as it is not used anymore in
473 // WebAssembly.
474 return AddNode(machine()->TryTruncateFloat64ToUint64(), a);
475 }
476 Node* TryTruncateFloat64ToUint64(Node* a) { 466 Node* TryTruncateFloat64ToUint64(Node* a) {
477 return AddNode(machine()->TryTruncateFloat64ToUint64(), a); 467 return AddNode(machine()->TryTruncateFloat64ToUint64(), a);
478 } 468 }
479 Node* ChangeInt32ToInt64(Node* a) { 469 Node* ChangeInt32ToInt64(Node* a) {
480 return AddNode(machine()->ChangeInt32ToInt64(), a); 470 return AddNode(machine()->ChangeInt32ToInt64(), a);
481 } 471 }
482 Node* ChangeUint32ToUint64(Node* a) { 472 Node* ChangeUint32ToUint64(Node* a) {
483 return AddNode(machine()->ChangeUint32ToUint64(), a); 473 return AddNode(machine()->ChangeUint32ToUint64(), a);
484 } 474 }
485 Node* TruncateFloat64ToFloat32(Node* a) { 475 Node* TruncateFloat64ToFloat32(Node* a) {
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
719 bool bound_; 709 bool bound_;
720 friend class RawMachineAssembler; 710 friend class RawMachineAssembler;
721 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); 711 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel);
722 }; 712 };
723 713
724 } // namespace compiler 714 } // namespace compiler
725 } // namespace internal 715 } // namespace internal
726 } // namespace v8 716 } // namespace v8
727 717
728 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 718 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « no previous file | test/cctest/compiler/test-run-machops.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698