Skip to content

Commit

Permalink
remove 'device' from PtrType
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugobros3 committed Jul 2, 2024
1 parent 653b8b5 commit af38e89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/emit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit af38e89

Please sign in to comment.