[llvm-commits] CVS: llvm-gcc/gcc/llvm-internals.h llvm-out.c
Chris Lattner
lattner at cs.uiuc.edu
Sat Nov 27 23:52:31 PST 2004
Changes in directory llvm-gcc/gcc:
llvm-internals.h updated: 1.2 -> 1.3
llvm-out.c updated: 1.7 -> 1.8
---
Log message:
Remove the MarkNameAsUsed function
---
Diffs of the changes: (+0 -12)
Index: llvm-gcc/gcc/llvm-internals.h
diff -u llvm-gcc/gcc/llvm-internals.h:1.2 llvm-gcc/gcc/llvm-internals.h:1.3
--- llvm-gcc/gcc/llvm-internals.h:1.2 Thu Nov 18 14:44:23 2004
+++ llvm-gcc/gcc/llvm-internals.h Sun Nov 28 01:52:17 2004
@@ -87,8 +87,6 @@
/* Reset the identifier rename table now that we are out of function scope */
void ResetIdentifierTableForEndOfFunction(void);
-void MarkNameAsUsed(const char *);
-
struct llvm_value *llvm_get_empty_class_pointer(struct llvm_function *Fn,
union tree_node *type);
Index: llvm-gcc/gcc/llvm-out.c
diff -u llvm-gcc/gcc/llvm-out.c:1.7 llvm-gcc/gcc/llvm-out.c:1.8
--- llvm-gcc/gcc/llvm-out.c:1.7 Fri Nov 26 11:34:39 2004
+++ llvm-gcc/gcc/llvm-out.c Sun Nov 28 01:52:17 2004
@@ -239,16 +239,6 @@
llvm_c_expand_body_1(Fn, 0);
}
-/* This horrible code mirrors code found in varasm.c:assemble_name. It
- basically marks all external names that are used by the program as
- REFERENCED, which, if the name corresponds to an inline function, causes the
- inline function to be code generated for this translation unit. */
-void MarkNameAsUsed(const char *Name) {
- tree id = maybe_get_identifier(Name);
- if (id) mark_referenced(id);
-}
-
-
void llvm_emit_final_program(const char *version) {
if (EMIT_CODE_INCREMENTALLY)
fprintf(llvm_out_file, "*** EMIT_CODE_INCREMENTALLY defined\n");
More information about the llvm-commits
mailing list