[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y
Chris Lattner
lattner at cs.uiuc.edu
Sat Aug 23 18:22:09 PDT 2003
Changes in directory llvm/lib/AsmParser:
llvmAsmParser.y updated: 1.119 -> 1.120
---
Log message:
Rename SwitchInst::dest_push_back -> addCase
---
Diffs of the changes:
Index: llvm/lib/AsmParser/llvmAsmParser.y
diff -u llvm/lib/AsmParser/llvmAsmParser.y:1.119 llvm/lib/AsmParser/llvmAsmParser.y:1.120
--- llvm/lib/AsmParser/llvmAsmParser.y:1.119 Fri Aug 22 00:42:10 2003
+++ llvm/lib/AsmParser/llvmAsmParser.y Sat Aug 23 18:14:51 2003
@@ -1482,7 +1482,7 @@
std::vector<std::pair<Constant*,BasicBlock*> >::iterator I = $8->begin(),
E = $8->end();
for (; I != E; ++I)
- S->dest_push_back(I->first, I->second);
+ S->addCase(I->first, I->second);
}
| SWITCH IntType ValueRef ',' LABEL ValueRef '[' ']' {
SwitchInst *S = new SwitchInst(getVal($2, $3),
More information about the llvm-commits
mailing list