[llvm-commits] [llvm] r47494 - /llvm/trunk/lib/AsmParser/llvmAsmParser.y
Devang Patel
dpatel at apple.com
Fri Feb 22 11:31:15 PST 2008
Author: dpatel
Date: Fri Feb 22 13:31:15 2008
New Revision: 47494
URL: http://llvm.org/viewvc/llvm-project?rev=47494&view=rev
Log:
Use SymbolicValueRef to parse getresult operand
Modified:
llvm/trunk/lib/AsmParser/llvmAsmParser.y
Modified: llvm/trunk/lib/AsmParser/llvmAsmParser.y
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/AsmParser/llvmAsmParser.y?rev=47494&r1=47493&r2=47494&view=diff
==============================================================================
--- llvm/trunk/lib/AsmParser/llvmAsmParser.y (original)
+++ llvm/trunk/lib/AsmParser/llvmAsmParser.y Fri Feb 22 13:31:15 2008
@@ -3168,9 +3168,8 @@
$$ = new StoreInst($3, tmpVal, $1, $7);
delete $5;
}
-| GETRESULT Types LocalName ',' EUINT64VAL {
- ValID TmpVID = ValID::createLocalName(*$3);
- Value *TmpVal = getVal($2->get(), TmpVID);
+| GETRESULT Types SymbolicValueRef ',' EUINT64VAL {
+ Value *TmpVal = getVal($2->get(), $3);
if (!GetResultInst::isValidOperands(TmpVal, $5))
GEN_ERROR("Invalid getresult operands");
$$ = new GetResultInst(TmpVal, $5);
More information about the llvm-commits
mailing list