mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-13 23:18:58 +00:00
change keyword to datalayout
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31108 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
d2f9e609aa
commit
10b271152a
@ -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