ParseIR: don't take ownership of the MemoryBuffer