[llvm-commits] CVS: llvm/test/Programs/External/SPEC/CINT2000/197.parser.hacked/Makefile xa.c

Chris Lattner lattner at cs.uiuc.edu
Fri Mar 5 11:21:02 PST 2004


Changes in directory llvm/test/Programs/External/SPEC/CINT2000/197.parser.hacked:

Makefile added (r1.1)
xa.c added (r1.1)

---
Log message:

Checkin of 197.parser but that does not use a custom allocator


---
Diffs of the changes:  (+29 -0)

Index: llvm/test/Programs/External/SPEC/CINT2000/197.parser.hacked/Makefile
diff -c /dev/null llvm/test/Programs/External/SPEC/CINT2000/197.parser.hacked/Makefile:1.1
*** /dev/null	Fri Mar  5 11:14:25 2004
--- llvm/test/Programs/External/SPEC/CINT2000/197.parser.hacked/Makefile	Fri Mar  5 11:14:15 2004
***************
*** 0 ****
--- 1,13 ----
+ LEVEL = ../../../../../..
+ RUN_OPTIONS     = 2.1.dict -batch
+ STDIN_FILENAME  = $(RUN_TYPE).in
+ STDOUT_FILENAME = $(RUN_TYPE).out
+ CPPFLAGS =
+ 
+ SPEC_BENCH_DIR := /home/vadve/shared/benchmarks/speccpu2000/benchspec/CINT2000/197.parser/
+ 
+ Source = $(addprefix $(SPEC_BENCH_DIR)/, \
+ analyze-linkage.c and.c build-disjuncts.c extract-links.c fast-match.c idiom.c main.c massage.c parse.c post-process.c print.c prune.c read-dict.c strncasecmp.c utilities.c word-file.c )  \
+    xa.c
+ 
+ include ../../Makefile.spec2000


Index: llvm/test/Programs/External/SPEC/CINT2000/197.parser.hacked/xa.c
diff -c /dev/null llvm/test/Programs/External/SPEC/CINT2000/197.parser.hacked/xa.c:1.1
*** /dev/null	Fri Mar  5 11:14:25 2004
--- llvm/test/Programs/External/SPEC/CINT2000/197.parser.hacked/xa.c	Fri Mar  5 11:14:15 2004
***************
*** 0 ****
--- 1,16 ----
+ 
+ #include <stdlib.h>
+ 
+ int max_space_in_use = 0;
+ int space_in_use = 0;
+ 
+ void initialize_memory() {
+ }
+ 
+ void * xalloc(int size) {
+   return malloc(size);
+ }
+ 
+ void xfree(void *P, int size) {
+   free(P);
+ }





More information about the llvm-commits mailing list