[llvm-commits] CVS: llvm/test/Programs/External/SPEC/CINT2000/197.parser/xa.c
Chris Lattner
lattner at cs.uiuc.edu
Fri Mar 5 08:20:02 PST 2004
Changes in directory llvm/test/Programs/External/SPEC/CINT2000/197.parser:
xa.c added (r1.1)
---
Log message:
Add a stub implementation of xalloc.c that eliminates the custom memory allocator
---
Diffs of the changes: (+16 -0)
Index: llvm/test/Programs/External/SPEC/CINT2000/197.parser/xa.c
diff -c /dev/null llvm/test/Programs/External/SPEC/CINT2000/197.parser/xa.c:1.1
*** /dev/null Fri Mar 5 08:19:59 2004
--- llvm/test/Programs/External/SPEC/CINT2000/197.parser/xa.c Fri Mar 5 08:19:49 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