summaryrefslogtreecommitdiff
path: root/src/ir/analysis/has_float.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/ir/analysis/has_float.rs')
-rw-r--r--src/ir/analysis/has_float.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ir/analysis/has_float.rs b/src/ir/analysis/has_float.rs
index 53e6a491..92bbe36c 100644
--- a/src/ir/analysis/has_float.rs
+++ b/src/ir/analysis/has_float.rs
@@ -122,7 +122,6 @@ impl<'ctx> MonotoneFramework for HasFloat<'ctx> {
TypeKind::Function(..) |
TypeKind::Enum(..) |
TypeKind::Reference(..) |
- TypeKind::BlockPointer |
TypeKind::TypeParam |
TypeKind::Opaque |
TypeKind::Pointer(..) |
@@ -159,7 +158,8 @@ impl<'ctx> MonotoneFramework for HasFloat<'ctx> {
TypeKind::ResolvedTypeRef(t) |
TypeKind::TemplateAlias(t, _) |
- TypeKind::Alias(t) => {
+ TypeKind::Alias(t) |
+ TypeKind::BlockPointer(t) => {
if self.has_float.contains(&t.into()) {
trace!(" aliases and type refs to T which have float \
also have float");