From 73ba3fcef730b0f77d3653b88127948223ad72a5 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Wed, 23 Jan 2008 09:55:29 -0700 Subject: [PATCH] fix build breakage in stress mode --- src/machine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/machine.cpp b/src/machine.cpp index d446d7384e..57fced2806 100644 --- a/src/machine.cpp +++ b/src/machine.cpp @@ -482,9 +482,9 @@ void postCollect(Thread* t) { #ifdef VM_STRESS - t->allocator.free(t->defaultHeap, Thread::HeapSizeInBytes); + t->m->heap->free(t->defaultHeap, Thread::HeapSizeInBytes, false); t->defaultHeap = static_cast - (t->allocator.allocate(Thread::HeapSizeInBytes)); + (t->m->heap->allocate(Thread::HeapSizeInBytes, false)); #endif t->heap = t->defaultHeap;