[llvm-commits] CVS: llvm/test/Libraries/libinstr/tracelib.c

Chris Lattner lattner at cs.uiuc.edu
Mon Jul 21 14:24:01 PDT 2003


Changes in directory llvm/test/Libraries/libinstr:

tracelib.c updated: 1.7 -> 1.8

---
Log message:

Remove unneccesary #ifdefs


---
Diffs of the changes:

Index: llvm/test/Libraries/libinstr/tracelib.c
diff -u llvm/test/Libraries/libinstr/tracelib.c:1.7 llvm/test/Libraries/libinstr/tracelib.c:1.8
--- llvm/test/Libraries/libinstr/tracelib.c:1.7	Mon Jul 21 14:20:44 2003
+++ llvm/test/Libraries/libinstr/tracelib.c	Mon Jul 21 14:23:31 2003
@@ -1,9 +1,9 @@
-/*===-- Libraries/tracelib.c - Runtime routines for tracing -----*- C++ -*--===
- *
- * Runtime routines for supporting tracing of execution
- * for code generated by LLVM.
- *
- *===---------------------------------------------------------------------===*/
+/*===-- tracelib.c - Runtime routines for tracing ---------------*- C++ -*-===*\
+//
+// Runtime routines for supporting tracing of execution for code generated by
+// LLVM.
+//
+//===----------------------------------------------------------------------===*/
 
 #include "tracelib.h"
 #include <assert.h>
@@ -19,12 +19,6 @@
  *===---------------------------------------------------------------------===*/
 
 /* use #defines until we have inlining */
-
-#ifndef sun
-typedef uint32_t Pointer;               /* int representation of a pointer */
-#else
-typedef uint64_t Pointer;               /* int representation of a pointer */
-#endif
 typedef uint32_t Index;                 /* type of index/size for hash table */
 typedef uint32_t Generic;               /* type of values stored in table */ 
 





More information about the llvm-commits mailing list