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

Unified Diff: src/compiler/representation-change.h

Issue 2734193003: [turbofan] Consume feedback types for NumberMax and NumberMin. (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/compiler/simplified-lowering.cc » ('j') | src/compiler/simplified-lowering.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/compiler/representation-change.h
diff --git a/src/compiler/representation-change.h b/src/compiler/representation-change.h
index 4fa7d917b747a18c96425e12855f6a746c446155..0ce00e452c3517e6a2c468867b18b9c9203f7ec9 100644
--- a/src/compiler/representation-change.h
+++ b/src/compiler/representation-change.h
@@ -141,6 +141,9 @@ class UseInfo {
static UseInfo TruncatingFloat64() {
return UseInfo(MachineRepresentation::kFloat64, Truncation::Float64());
}
+ static UseInfo TruncatingFloat64AsWord32() {
+ return UseInfo(MachineRepresentation::kWord32, Truncation::Float64());
+ }
static UseInfo PointerInt() {
return kPointerSize == 4 ? TruncatingWord32() : TruncatingWord64();
}
« no previous file with comments | « no previous file | src/compiler/simplified-lowering.cc » ('j') | src/compiler/simplified-lowering.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698