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

Unified Diff: src/compiler/code-assembler.cc

Issue 1919513002: [turbofan] Introduce TruncateTaggedToWord32 simplified operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: src/compiler/code-assembler.cc
diff --git a/src/compiler/code-assembler.cc b/src/compiler/code-assembler.cc
index b93ece1bcc1aaaadcf636053b61bc5d4ba05f15d..6a829b2661e1b0d8d73c24d1f875afe14c7cc031 100644
--- a/src/compiler/code-assembler.cc
+++ b/src/compiler/code-assembler.cc
@@ -160,15 +160,6 @@ Node* CodeAssembler::WordShl(Node* value, int shift) {
return raw_assembler_->WordShl(value, IntPtrConstant(shift));
}
-Node* CodeAssembler::TruncateFloat64ToInt32RoundToZero(Node* a) {
- return raw_assembler_->TruncateFloat64ToInt32(TruncationMode::kRoundToZero,
- a);
-}
-
-Node* CodeAssembler::TruncateFloat64ToInt32JavaScript(Node* a) {
- return raw_assembler_->TruncateFloat64ToInt32(TruncationMode::kJavaScript, a);
-}
-
Node* CodeAssembler::ChangeUint32ToWord(Node* value) {
if (raw_assembler_->machine()->Is64()) {
value = raw_assembler_->ChangeUint32ToUint64(value);

Powered by Google App Engine
This is Rietveld 408576698