From af38e89987d801a557ed67e00cdf8a09b38a2080 Mon Sep 17 00:00:00 2001 From: Hugo Devillers Date: Tue, 2 Jul 2024 16:30:19 +0200 Subject: [PATCH] remove 'device' from PtrType --- src/emit.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/emit.cpp b/src/emit.cpp index e6c4c54..edbdb31 100644 --- a/src/emit.cpp +++ b/src/emit.cpp @@ -1893,7 +1893,7 @@ std::string PtrType::stringify(Emitter& emitter) const { } const thorin::Type* PtrType::convert(Emitter& emitter) const { - return emitter.world.ptr_type(pointee->convert(emitter), 1, -1, thorin::AddrSpace(addr_space)); + return emitter.world.ptr_type(pointee->convert(emitter), 1, thorin::AddrSpace(addr_space)); } std::string ImplicitParamType::stringify(Emitter& emitter) const {