[llvm-commits] CVS: llvm/lib/AsmParser/Lexer.l llvmAsmParser.y
Reid Spencer
reid at x10sys.com
Mon Sep 13 22:43:33 PDT 2004
Changes in directory llvm/lib/AsmParser:
Lexer.l updated: 1.53 -> 1.54
llvmAsmParser.y updated: 1.202 -> 1.203
---
Log message:
Okay, the list of link-time passes wasn't such a hot idea. Its prone to
error. We'll strategize on this when we have multiple front ends to deal
with. For now llvm-ld just runs a standard set of transforms.
---
Diffs of the changes: (+1 -17)
Index: llvm/lib/AsmParser/Lexer.l
diff -u llvm/lib/AsmParser/Lexer.l:1.53 llvm/lib/AsmParser/Lexer.l:1.54
--- llvm/lib/AsmParser/Lexer.l:1.53 Mon Sep 13 18:44:23 2004
+++ llvm/lib/AsmParser/Lexer.l Tue Sep 14 00:43:23 2004
@@ -195,7 +195,6 @@
target { return TARGET; }
triple { return TRIPLE; }
deplibs { return DEPLIBS; }
-passes { return PASSES; }
endian { return ENDIAN; }
pointersize { return POINTERSIZE; }
little { return LITTLE; }
Index: llvm/lib/AsmParser/llvmAsmParser.y
diff -u llvm/lib/AsmParser/llvmAsmParser.y:1.202 llvm/lib/AsmParser/llvmAsmParser.y:1.203
--- llvm/lib/AsmParser/llvmAsmParser.y:1.202 Mon Sep 13 18:44:23 2004
+++ llvm/lib/AsmParser/llvmAsmParser.y Tue Sep 14 00:43:23 2004
@@ -910,7 +910,7 @@
%token DECLARE GLOBAL CONSTANT VOLATILE
%token TO DOTDOTDOT NULL_TOK CONST INTERNAL LINKONCE WEAK APPENDING
%token OPAQUE NOT EXTERNAL TARGET TRIPLE ENDIAN POINTERSIZE LITTLE BIG
-%token DEPLIBS PASSES
+%token DEPLIBS
// Basic Block Terminating Operators
%token <TermOpVal> RET BR SWITCH INVOKE UNWIND
@@ -1484,8 +1484,6 @@
}
| ConstPool DEPLIBS '=' LibrariesDefinition {
}
- | ConstPool PASSES '=' PassesDefinition {
- }
| /* empty: end of list */ {
};
@@ -1524,19 +1522,6 @@
}
;
-PassesDefinition : '[' PassList ']';
-PassList : PassList ',' STRINGCONSTANT {
- CurModule.CurrentModule->addLibrary($3);
- free($3);
- }
- | STRINGCONSTANT {
- CurModule.CurrentModule->addLibrary($1);
- free($1);
- }
- | /* empty: end of list */ {
- }
- ;
-
//===----------------------------------------------------------------------===//
// Rules to match Function Headers
//===----------------------------------------------------------------------===//
More information about the llvm-commits
mailing list