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:
Chris Lattner 2006-10-22 06:07:41 +00:00
parent d2f9e609aa
commit 10b271152a
2 changed files with 3 additions and 3 deletions

View File

@ -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; }

View File

@ -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