forked from OSchip/llvm-project
parent
0489716a67
commit
fd3d29a978
|
@ -210,7 +210,7 @@ triple { return TRIPLE; }
|
||||||
deplibs { return DEPLIBS; }
|
deplibs { return DEPLIBS; }
|
||||||
endian { return ENDIAN; }
|
endian { return ENDIAN; }
|
||||||
pointersize { return POINTERSIZE; }
|
pointersize { return POINTERSIZE; }
|
||||||
data { return DATA; }
|
datalayout { return DATALAYOUT; }
|
||||||
little { return LITTLE; }
|
little { return LITTLE; }
|
||||||
big { return BIG; }
|
big { return BIG; }
|
||||||
volatile { return VOLATILE; }
|
volatile { return VOLATILE; }
|
||||||
|
|
|
@ -1068,7 +1068,7 @@ Module *llvm::RunVMAsmParser(const char * AsmString, Module * M) {
|
||||||
%token DEPLIBS CALL TAIL ASM_TOK MODULE SIDEEFFECT
|
%token DEPLIBS CALL TAIL ASM_TOK MODULE SIDEEFFECT
|
||||||
%token CC_TOK CCC_TOK CSRETCC_TOK FASTCC_TOK COLDCC_TOK
|
%token CC_TOK CCC_TOK CSRETCC_TOK FASTCC_TOK COLDCC_TOK
|
||||||
%token X86_STDCALLCC_TOK X86_FASTCALLCC_TOK
|
%token X86_STDCALLCC_TOK X86_FASTCALLCC_TOK
|
||||||
%token DATA
|
%token DATALAYOUT
|
||||||
%type <UIntVal> OptCallingConv
|
%type <UIntVal> OptCallingConv
|
||||||
|
|
||||||
// Basic Block Terminating Operators
|
// Basic Block Terminating Operators
|
||||||
|
@ -1874,7 +1874,7 @@ TargetDefinition : ENDIAN '=' BigOrLittle {
|
||||||
free($3);
|
free($3);
|
||||||
CHECK_FOR_ERROR
|
CHECK_FOR_ERROR
|
||||||
};
|
};
|
||||||
| DATA '=' STRINGCONSTANT {
|
| DATALAYOUT '=' STRINGCONSTANT {
|
||||||
CurModule.CurrentModule->setDataLayout($3);
|
CurModule.CurrentModule->setDataLayout($3);
|
||||||
free($3);
|
free($3);
|
||||||
CHECK_FOR_ERROR
|
CHECK_FOR_ERROR
|
||||||
|
|
Loading…
Reference in New Issue