[llvm-commits] CVS: llvm/lib/AsmParser/Lexer.l llvmAsmParser.y
Chris Lattner
lattner at cs.uiuc.edu
Tue Jul 13 23:45:06 PDT 2004
Changes in directory llvm/lib/AsmParser:
Lexer.l updated: 1.50 -> 1.51
llvmAsmParser.y updated: 1.181 -> 1.182
---
Log message:
Remove a gross and crufty "feature" that was never documented and doesn't work.
---
Diffs of the changes: (+1 -7)
Index: llvm/lib/AsmParser/Lexer.l
diff -u llvm/lib/AsmParser/Lexer.l:1.50 llvm/lib/AsmParser/Lexer.l:1.51
--- llvm/lib/AsmParser/Lexer.l:1.50 Sun Jul 4 07:17:44 2004
+++ llvm/lib/AsmParser/Lexer.l Wed Jul 14 01:44:56 2004
@@ -179,7 +179,6 @@
declare { return DECLARE; }
global { return GLOBAL; }
constant { return CONSTANT; }
-const { return CONST; }
internal { return INTERNAL; }
linkonce { return LINKONCE; }
weak { return WEAK; }
Index: llvm/lib/AsmParser/llvmAsmParser.y
diff -u llvm/lib/AsmParser/llvmAsmParser.y:1.181 llvm/lib/AsmParser/llvmAsmParser.y:1.182
--- llvm/lib/AsmParser/llvmAsmParser.y:1.181 Wed Jul 14 01:39:48 2004
+++ llvm/lib/AsmParser/llvmAsmParser.y Wed Jul 14 01:44:56 2004
@@ -1424,12 +1424,7 @@
};
// ConstPool - Constants with optional names assigned to them.
-ConstPool : ConstPool OptAssign CONST ConstVal {
- // FIXME: THIS SHOULD REALLY BE ELIMINATED. It is totally unneeded.
- if (!setValueNameMergingDuplicates($4, $2))
- InsertValue($4);
- }
- | ConstPool OptAssign TYPE TypesV { // Types can be defined in the const pool
+ConstPool : ConstPool OptAssign TYPE TypesV { // Types can be defined in the const pool
// Eagerly resolve types. This is not an optimization, this is a
// requirement that is due to the fact that we could have this:
//
More information about the llvm-commits
mailing list