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

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

Issue 2184513003: [turbofan] Adds handling of number or oddball type feedback to SpeculativeNumberShiftLeft. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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/representation-change.h
diff --git a/src/compiler/representation-change.h b/src/compiler/representation-change.h
index 1500c498164dc606aa814a8b3560919b2bd73e63..cdbd63027477ca26369393f4fa62e27a215c6db4 100644
--- a/src/compiler/representation-change.h
+++ b/src/compiler/representation-change.h
@@ -139,6 +139,10 @@ class UseInfo {
return UseInfo(MachineRepresentation::kFloat64, Truncation::Any(),
TypeCheckKind::kNumberOrOddball);
}
+ static UseInfo CheckedNumberOrOddballAsWord32() {
+ return UseInfo(MachineRepresentation::kWord32, Truncation::Word32(),
+ TypeCheckKind::kNumberOrOddball);
+ }
// Undetermined representation.
static UseInfo Any() {

Powered by Google App Engine
This is Rietveld 408576698