Skip to content

Commit

Permalink
asm: remove TODO no longer relevant
Browse files Browse the repository at this point in the history
  • Loading branch information
mewmew committed Dec 7, 2018
1 parent 24e7631 commit a962b77
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions asm/inst_memory.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,6 @@ func (fgen *funcGen) irAllocaInst(new ir.Instruction, old *ast.AllocaInst) error
}
// (optional) Address space; stored in i.Typ.
if n, ok := old.AddrSpace(); ok {
// TODO: verify if needed. Should not be, since inst.Typ is cached in newAllocaInst.
//inst.Type()
inst.Typ.AddrSpace = irAddrSpace(n)
}
// (optional) Metadata.
Expand Down

0 comments on commit a962b77

Please sign in to comment.