aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/src/compiler/representation-change.h
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/src/compiler/representation-change.h')
-rw-r--r--deps/v8/src/compiler/representation-change.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/v8/src/compiler/representation-change.h b/deps/v8/src/compiler/representation-change.h
index 5e682624e8..e8bb3f12ac 100644
--- a/deps/v8/src/compiler/representation-change.h
+++ b/deps/v8/src/compiler/representation-change.h
@@ -240,6 +240,8 @@ class UseInfo {
}
static UseInfo CheckedNumberOrOddballAsFloat64(
IdentifyZeros identify_zeros, const VectorSlotPair& feedback) {
+ // TODO(tebbi): We should use Float64 truncation here, since this exactly
+ // means that we treat Oddballs as Numbers.
return UseInfo(MachineRepresentation::kFloat64,
Truncation::Any(identify_zeros),
TypeCheckKind::kNumberOrOddball, feedback);