ggc-none.c (96489) | ggc-none.c (117395) |
---|---|
1/* Null garbage collection for the GNU compiler. 2 Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. 3 4 This file is part of GCC. 5 6 GCC is free software; you can redistribute it and/or modify it 7 under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 2, or (at your option) --- 18 unchanged lines hidden (view full) --- 27#include "ggc.h" 28 29void * 30ggc_alloc (size) 31 size_t size; 32{ 33 return xmalloc (size); 34} | 1/* Null garbage collection for the GNU compiler. 2 Copyright (C) 1998, 1999, 2000 Free Software Foundation, Inc. 3 4 This file is part of GCC. 5 6 GCC is free software; you can redistribute it and/or modify it 7 under the terms of the GNU General Public License as published by 8 the Free Software Foundation; either version 2, or (at your option) --- 18 unchanged lines hidden (view full) --- 27#include "ggc.h" 28 29void * 30ggc_alloc (size) 31 size_t size; 32{ 33 return xmalloc (size); 34} |
35 36void * 37ggc_alloc_cleared (size) 38 size_t size; 39{ 40 return xcalloc (size, 1); 41} 42 43void * 44ggc_realloc (x, size) 45 void *x; 46 size_t size; 47{ 48 return xrealloc (x, size); 49} |
|