mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
change keyword to datalayout
llvm-svn: 31108
This commit is contained in:
parent
9e59066602
commit
0bf0490e0c
@ -210,7 +210,7 @@ triple { return TRIPLE; }
|
||||
deplibs { return DEPLIBS; }
|
||||
endian { return ENDIAN; }
|
||||
pointersize { return POINTERSIZE; }
|
||||
data { return DATA; }
|
||||
datalayout { return DATALAYOUT; }
|
||||
little { return LITTLE; }
|
||||
big { return BIG; }
|
||||
volatile { return VOLATILE; }
|
||||
|
@ -1068,7 +1068,7 @@ Module *llvm::RunVMAsmParser(const char * AsmString, Module * M) {
|
||||
%token DEPLIBS CALL TAIL ASM_TOK MODULE SIDEEFFECT
|
||||
%token CC_TOK CCC_TOK CSRETCC_TOK FASTCC_TOK COLDCC_TOK
|
||||
%token X86_STDCALLCC_TOK X86_FASTCALLCC_TOK
|
||||
%token DATA
|
||||
%token DATALAYOUT
|
||||
%type <UIntVal> OptCallingConv
|
||||
|
||||
// Basic Block Terminating Operators
|
||||
@ -1874,7 +1874,7 @@ TargetDefinition : ENDIAN '=' BigOrLittle {
|
||||
free($3);
|
||||
CHECK_FOR_ERROR
|
||||
};
|
||||
| DATA '=' STRINGCONSTANT {
|
||||
| DATALAYOUT '=' STRINGCONSTANT {
|
||||
CurModule.CurrentModule->setDataLayout($3);
|
||||
free($3);
|
||||
CHECK_FOR_ERROR
|
||||
|
Loading…
Reference in New Issue
Block a user