mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-13 01:15:32 +00:00
Change the 'exception' destination to the 'unwind' destination. We will always
allow 'except' instead of 'unwind' here though. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11203 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
aeb2a1d708
commit
a58e3a16c5
@ -191,7 +191,7 @@ zeroinitializer { return ZEROINITIALIZER; }
|
|||||||
\.\.\. { return DOTDOTDOT; }
|
\.\.\. { return DOTDOTDOT; }
|
||||||
null { return NULL_TOK; }
|
null { return NULL_TOK; }
|
||||||
to { return TO; }
|
to { return TO; }
|
||||||
except { return EXCEPT; }
|
except { RET_TOK(TermOpVal, Unwind, UNWIND); }
|
||||||
not { return NOT; } /* Deprecated, turned into XOR */
|
not { return NOT; } /* Deprecated, turned into XOR */
|
||||||
target { return TARGET; }
|
target { return TARGET; }
|
||||||
endian { return ENDIAN; }
|
endian { return ENDIAN; }
|
||||||
|
@ -816,7 +816,7 @@ using namespace llvm;
|
|||||||
|
|
||||||
%token IMPLEMENTATION ZEROINITIALIZER TRUE FALSE BEGINTOK ENDTOK
|
%token IMPLEMENTATION ZEROINITIALIZER TRUE FALSE BEGINTOK ENDTOK
|
||||||
%token DECLARE GLOBAL CONSTANT VOLATILE
|
%token DECLARE GLOBAL CONSTANT VOLATILE
|
||||||
%token TO EXCEPT DOTDOTDOT NULL_TOK CONST INTERNAL LINKONCE WEAK APPENDING
|
%token TO DOTDOTDOT NULL_TOK CONST INTERNAL LINKONCE WEAK APPENDING
|
||||||
%token OPAQUE NOT EXTERNAL TARGET ENDIAN POINTERSIZE LITTLE BIG
|
%token OPAQUE NOT EXTERNAL TARGET ENDIAN POINTERSIZE LITTLE BIG
|
||||||
|
|
||||||
// Basic Block Terminating Operators
|
// Basic Block Terminating Operators
|
||||||
@ -1611,7 +1611,7 @@ BBTerminatorInst : RET ResolvedVal { // Return with a result...
|
|||||||
$$ = S;
|
$$ = S;
|
||||||
}
|
}
|
||||||
| INVOKE TypesV ValueRef '(' ValueRefListE ')' TO ResolvedVal
|
| INVOKE TypesV ValueRef '(' ValueRefListE ')' TO ResolvedVal
|
||||||
EXCEPT ResolvedVal {
|
UNWIND ResolvedVal {
|
||||||
const PointerType *PFTy;
|
const PointerType *PFTy;
|
||||||
const FunctionType *Ty;
|
const FunctionType *Ty;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user