[llvm-commits] CVS: llvm/lib/AsmParser/llvmAsmParser.y
Chris Lattner
lattner at cs.uiuc.edu
Mon Sep 8 15:30:03 PDT 2003
Changes in directory llvm/lib/AsmParser:
llvmAsmParser.y updated: 1.123 -> 1.124
---
Log message:
Oops, look at the VOLATILE marker, not the opcode
---
Diffs of the changes:
Index: llvm/lib/AsmParser/llvmAsmParser.y
diff -u llvm/lib/AsmParser/llvmAsmParser.y:1.123 llvm/lib/AsmParser/llvmAsmParser.y:1.124
--- llvm/lib/AsmParser/llvmAsmParser.y:1.123 Mon Sep 8 13:54:48 2003
+++ llvm/lib/AsmParser/llvmAsmParser.y Mon Sep 8 15:29:46 2003
@@ -1749,7 +1749,7 @@
if (!isa<PointerType>($3->get()))
ThrowException("Can't load from nonpointer type: " +
(*$3)->getDescription());
- $$ = new LoadInst(getVal(*$3, $4), "", $2);
+ $$ = new LoadInst(getVal(*$3, $4), "", $1);
delete $3;
}
| OptVolatile STORE ResolvedVal ',' Types ValueRef {
@@ -1762,7 +1762,7 @@
ThrowException("Can't store '" + $3->getType()->getDescription() +
"' into space of type '" + ElTy->getDescription() + "'!");
- $$ = new StoreInst($3, getVal(*$5, $6), $2);
+ $$ = new StoreInst($3, getVal(*$5, $6), $1);
delete $5;
}
| GETELEMENTPTR Types ValueRef IndexList {
More information about the llvm-commits
mailing list