Chromium Code Reviews

Unified Diff: src/compiler/raw-machine-assembler.h

Issue 1457373002: [turbofan] Implemented the TruncateFloat64ToUint64 TurboFan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/compiler/raw-machine-assembler.h
diff --git a/src/compiler/raw-machine-assembler.h b/src/compiler/raw-machine-assembler.h
index a4391fef033d99b8880d9371054df42c2d64f5df..57c5662f814b9cd60d8e346ba8809ab0bd744704 100644
--- a/src/compiler/raw-machine-assembler.h
+++ b/src/compiler/raw-machine-assembler.h
@@ -446,6 +446,9 @@ class RawMachineAssembler {
Node* ChangeFloat64ToInt64(Node* a) {
return AddNode(machine()->ChangeFloat64ToInt64(), a);
}
+ Node* TruncateFloat64ToUint64(Node* a) {
+ return AddNode(machine()->TruncateFloat64ToUint64(), a);
+ }
Node* ChangeInt32ToInt64(Node* a) {
return AddNode(machine()->ChangeInt32ToInt64(), a);
}

Powered by Google App Engine