default address space of PointerType 0 => 1
This commit is contained in:
@@ -30,7 +30,8 @@ Type PointerType::parse(AsmParser &parser) {
|
|||||||
if (parser.parseGreater())
|
if (parser.parseGreater())
|
||||||
return Type();
|
return Type();
|
||||||
|
|
||||||
return PointerType::get(pointeeType, 0);
|
// TODO: also print address space?
|
||||||
|
return PointerType::get(pointeeType, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
void PointerType::print(AsmPrinter &printer) const {
|
void PointerType::print(AsmPrinter &printer) const {
|
||||||
|
Reference in New Issue
Block a user