mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-19 02:42:58 +00:00
Convert ugly postincrement to efficient preincrement
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@89 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
42e018c805
commit
079df31921
@ -30,7 +30,7 @@ void BytecodeWriter::outputType(const Type *T) {
|
||||
|
||||
// Output all of the arguments...
|
||||
MethodType::ParamTypes::const_iterator I = MT->getParamTypes().begin();
|
||||
for (; I != MT->getParamTypes().end(); I++) {
|
||||
for (; I != MT->getParamTypes().end(); ++I) {
|
||||
Slot = Table.getValSlot(*I);
|
||||
assert(Slot != -1 && "Type used but not available!!");
|
||||
output_vbr((unsigned)Slot, Out);
|
||||
@ -57,7 +57,7 @@ void BytecodeWriter::outputType(const Type *T) {
|
||||
|
||||
// Output all of the element types...
|
||||
StructType::ElementTypes::const_iterator I = ST->getElementTypes().begin();
|
||||
for (; I != ST->getElementTypes().end(); I++) {
|
||||
for (; I != ST->getElementTypes().end(); ++I) {
|
||||
int Slot = Table.getValSlot(*I);
|
||||
assert(Slot != -1 && "Type used but not available!!");
|
||||
output_vbr((unsigned)Slot, Out);
|
||||
|
Loading…
x
Reference in New Issue
Block a user