diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2011-09-20 14:20:16 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2011-09-20 14:20:16 -0700 |
| commit | 307957710c69f41519f5f22997c629fc5e077771 (patch) | |
| tree | 6e15b2868631fcfa76261da28fca42a2ac918672 /src/rt/rust_upcall.cpp | |
| parent | 45086b7bfd3ae6f97e28f215b58d1f19def09c4d (diff) | |
| download | rust-307957710c69f41519f5f22997c629fc5e077771.tar.gz rust-307957710c69f41519f5f22997c629fc5e077771.zip | |
rt: Remove the GC alloc chain
Diffstat (limited to 'src/rt/rust_upcall.cpp')
| -rw-r--r-- | src/rt/rust_upcall.cpp | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index 778e90df162..79291bdd3a3 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -57,9 +57,8 @@ upcall_malloc(rust_task *task, size_t nbytes, type_desc *td) { LOG_UPCALL_ENTRY(task); LOG(task, mem, - "upcall malloc(%" PRIdPTR ", 0x%" PRIxPTR ")" - " with gc-chain head = 0x%" PRIxPTR, - nbytes, td, task->gc_alloc_chain); + "upcall malloc(%" PRIdPTR ", 0x%" PRIxPTR ")", + nbytes, td); gc::maybe_gc(task); @@ -69,10 +68,8 @@ upcall_malloc(rust_task *task, size_t nbytes, type_desc *td) { void *p = task->malloc(nbytes, "tdesc", td); LOG(task, mem, - "upcall malloc(%" PRIdPTR ", 0x%" PRIxPTR - ") = 0x%" PRIxPTR - " with gc-chain head = 0x%" PRIxPTR, - nbytes, td, (uintptr_t)p, task->gc_alloc_chain); + "upcall malloc(%" PRIdPTR ", 0x%" PRIxPTR ") = 0x%" PRIxPTR, + nbytes, td, (uintptr_t)p); return (uintptr_t) p; } |
