Skip to content
Snippets Groups Projects
Commit 6dc40b20 authored by jakub's avatar jakub
Browse files

* runtime/memory.c (malloc_t): Remove.

	(GFC_MALLOC_MAGIC, HEADER_SIZE, DATA_POINTER, DATA_HEADER): Remove.
	(mem_root, runtime_cleanup, malloc_with_header): Remove.
	(internal_malloc_size): Use just get_mem if size != 0, return NULL
	otherwise.
	(internal_free): Just free if non-NULL.
	(internal_realloc_size): Remove debugging stuff.
	(allocate_size): Use malloc directly, remove debugging stuff.
	(deallocate): Use free directly, fix error message wording.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@104856 138bc75d-0d04-0410-961f-82ee72b054a4
parent 556d0269
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment