mirror of
https://github.com/RPCSX/llvm.git
synced 2025-03-01 17:35:38 +00:00
Support the new Invoke instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@755 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f1fef65157
commit
5efbbc28f6
@ -130,6 +130,8 @@ implementation { return IMPLEMENTATION; }
|
|||||||
\.\.\. { return DOTDOTDOT; }
|
\.\.\. { return DOTDOTDOT; }
|
||||||
string { return STRING; }
|
string { return STRING; }
|
||||||
null { return NULL_TOK; }
|
null { return NULL_TOK; }
|
||||||
|
to { return TO; }
|
||||||
|
except { return EXCEPT; }
|
||||||
|
|
||||||
void { llvmAsmlval.PrimType = Type::VoidTy ; return VOID; }
|
void { llvmAsmlval.PrimType = Type::VoidTy ; return VOID; }
|
||||||
bool { llvmAsmlval.PrimType = Type::BoolTy ; return BOOL; }
|
bool { llvmAsmlval.PrimType = Type::BoolTy ; return BOOL; }
|
||||||
@ -167,7 +169,6 @@ setgt { RET_TOK(BinaryOpVal, SetGT, SETGT); }
|
|||||||
setle { RET_TOK(BinaryOpVal, SetLE, SETLE); }
|
setle { RET_TOK(BinaryOpVal, SetLE, SETLE); }
|
||||||
setge { RET_TOK(BinaryOpVal, SetGE, SETGE); }
|
setge { RET_TOK(BinaryOpVal, SetGE, SETGE); }
|
||||||
|
|
||||||
to { return TO; }
|
|
||||||
phi { RET_TOK(OtherOpVal, PHINode, PHI); }
|
phi { RET_TOK(OtherOpVal, PHINode, PHI); }
|
||||||
call { RET_TOK(OtherOpVal, Call, CALL); }
|
call { RET_TOK(OtherOpVal, Call, CALL); }
|
||||||
cast { RET_TOK(OtherOpVal, Cast, CAST); }
|
cast { RET_TOK(OtherOpVal, Cast, CAST); }
|
||||||
@ -177,6 +178,7 @@ shr { RET_TOK(OtherOpVal, Shr, SHR); }
|
|||||||
ret { RET_TOK(TermOpVal, Ret, RET); }
|
ret { RET_TOK(TermOpVal, Ret, RET); }
|
||||||
br { RET_TOK(TermOpVal, Br, BR); }
|
br { RET_TOK(TermOpVal, Br, BR); }
|
||||||
switch { RET_TOK(TermOpVal, Switch, SWITCH); }
|
switch { RET_TOK(TermOpVal, Switch, SWITCH); }
|
||||||
|
invoke { RET_TOK(TermOpVal, Invoke, INVOKE); }
|
||||||
|
|
||||||
|
|
||||||
malloc { RET_TOK(MemOpVal, Malloc, MALLOC); }
|
malloc { RET_TOK(MemOpVal, Malloc, MALLOC); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user