commit | 56706db45bbc7be0c087451ca9f1d258324df4b2 | [log] [tgz] |
---|---|---|
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Dec 20 22:54:05 2012 +0000 |
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | Thu Dec 20 22:54:05 2012 +0000 |
tree | 9d3f00f5794af62b0a2abd3af64b29f07771e19b | |
parent | be06aacaa9a270384599bbfa850b967e9996b9fb [diff] |
Require the two-argument MI::addOperand(MF, MO) for dangling instructions. Instructions that are inserted in a basic block can still be decorated with addOperand(MO). Make the two-argument addOperand() function contain the actual implementation. This function will now always have a valid MF reference that it can use for memory allocation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170798 91177308-0d34-0410-b5e6-96231b3b80d8