diff options
author | Chris Lattner <sabre@nondot.org> | 2006-09-28 23:35:22 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2006-09-28 23:35:22 +0000 |
commit | 6ab03f6a08d34889d694e1f43f99ba9b8328dcee (patch) | |
tree | 9d649e009e973007ffc1dcdd43c173bd96b38359 /llvm/lib/AsmParser/llvmAsmParser.y.cvs | |
parent | 7843066e15c526b9d4e1364a3a344b9f6fa678e0 (diff) | |
download | bcm5719-llvm-6ab03f6a08d34889d694e1f43f99ba9b8328dcee.tar.gz bcm5719-llvm-6ab03f6a08d34889d694e1f43f99ba9b8328dcee.zip |
Eliminate ConstantBool::True and ConstantBool::False. Instead, provide
ConstantBool::getTrue() and ConstantBool::getFalse().
llvm-svn: 30665
Diffstat (limited to 'llvm/lib/AsmParser/llvmAsmParser.y.cvs')
-rw-r--r-- | llvm/lib/AsmParser/llvmAsmParser.y.cvs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/llvm/lib/AsmParser/llvmAsmParser.y.cvs b/llvm/lib/AsmParser/llvmAsmParser.y.cvs index eb14e0c14c0..6ba1a5e4ce6 100644 --- a/llvm/lib/AsmParser/llvmAsmParser.y.cvs +++ b/llvm/lib/AsmParser/llvmAsmParser.y.cvs @@ -1562,11 +1562,11 @@ ConstVal : SIntType EINT64VAL { // integral constants CHECK_FOR_ERROR } | BOOL TRUETOK { // Boolean constants - $$ = ConstantBool::True; + $$ = ConstantBool::getTrue(); CHECK_FOR_ERROR } | BOOL FALSETOK { // Boolean constants - $$ = ConstantBool::False; + $$ = ConstantBool::getFalse(); CHECK_FOR_ERROR } | FPType FPVAL { // Float & Double constants @@ -2076,11 +2076,11 @@ ConstValueRef : ESINT64VAL { // A reference to a direct constant CHECK_FOR_ERROR } | TRUETOK { - $$ = ValID::create(ConstantBool::True); + $$ = ValID::create(ConstantBool::getTrue()); CHECK_FOR_ERROR } | FALSETOK { - $$ = ValID::create(ConstantBool::False); + $$ = ValID::create(ConstantBool::getFalse()); CHECK_FOR_ERROR } | NULL_TOK { |