aboutsummaryrefslogtreecommitdiff
path: root/lib/VMCore/BasicBlock.cpp
diff options
context:
space:
mode:
authorAlkis Evlogimenos <alkis@evlogimenos.com>2003-11-04 22:57:09 +0000
committerAlkis Evlogimenos <alkis@evlogimenos.com>2003-11-04 22:57:09 +0000
commite668dab5b339df01920b8bff890a70455b7dd27a (patch)
tree06b1ea7b9742d92dde98a521457df178f311b59f /lib/VMCore/BasicBlock.cpp
parent55766e139a2eae8d44e703c1933d1084c1d5a586 (diff)
Change all machine basic block modifier functions in MRegisterInfo to
return the number of instructions added to/removed from the basic block passed as their first argument. Note: This is only needed because we use a std::vector instead of an ilist to keep MachineBasicBlock instructions. Inserting an instruction to a MachineBasicBlock invalidates all iterators to the basic block. The return value can be used to update an index to the machine basic block instruction vector and circumvent the iterator elimination problem but this is really not needed if we move to a better representation. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9704 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/BasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions