mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-19 04:29:21 +00:00
Fix bug: Assembler/2003-05-15-SwitchBug.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6239 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
694c5df02a
commit
196850c2c4
@ -1464,6 +1464,11 @@ BBTerminatorInst : RET ResolvedVal { // Return with a result...
|
||||
for (; I != E; ++I)
|
||||
S->dest_push_back(I->first, I->second);
|
||||
}
|
||||
| SWITCH IntType ValueRef ',' LABEL ValueRef '[' ']' {
|
||||
SwitchInst *S = new SwitchInst(getVal($2, $3),
|
||||
cast<BasicBlock>(getVal(Type::LabelTy, $6)));
|
||||
$$ = S;
|
||||
}
|
||||
| INVOKE TypesV ValueRef '(' ValueRefListE ')' TO ResolvedVal
|
||||
EXCEPT ResolvedVal {
|
||||
const PointerType *PFTy;
|
||||
|
Loading…
Reference in New Issue
Block a user