>The only thing that needs the allocated alignment is some of the internal 
>pieces--the stack chunks and register frames, really. Everything else can 
>use a plain malloc. Well, mem_allocate, rather, which can be a wrapper 
around malloc for now.
>
>Dan

Maybe we can do this for now?
-Melvin

--- resources.c Mon Oct 22 15:27:05 2001
+++ resources.c.new     Wed Dec 12 16:14:15 2001
@@ -23,7 +23,7 @@
 }
 
 STRING *new_string_header(struct Parrot_Interp *interpreter) {
-  return mem_allocate_aligned(sizeof(STRING));
+  return mem_sys_allocate(sizeof(STRING));
 }

Reply via email to