diff options
| author | Michael Sullivan <sully@msully.net> | 2012-06-13 18:00:17 -0700 |
|---|---|---|
| committer | Michael Sullivan <sully@msully.net> | 2012-06-13 18:00:17 -0700 |
| commit | 591b2802ffd32d805ba70dba33452e5a4d42ed9e (patch) | |
| tree | 81e8e2687df6d1ac8b5d2c60ce437ae01ca197ad /src/rt/rust_upcall.cpp | |
| parent | 4c0d41cffae78725c20a40302e81ef1246c3e4c7 (diff) | |
| download | rust-591b2802ffd32d805ba70dba33452e5a4d42ed9e.tar.gz rust-591b2802ffd32d805ba70dba33452e5a4d42ed9e.zip | |
Make trans only generate calls to the _dyn malloc upcalls, so we can get rid of the non dyn ones.
Diffstat (limited to 'src/rt/rust_upcall.cpp')
| -rw-r--r-- | src/rt/rust_upcall.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rt/rust_upcall.cpp b/src/rt/rust_upcall.cpp index f5745fe4b86..9e736252fd6 100644 --- a/src/rt/rust_upcall.cpp +++ b/src/rt/rust_upcall.cpp @@ -156,6 +156,7 @@ exchange_malloc(rust_task *task, type_desc *td, uintptr_t size) { return (uintptr_t)header; } +// FIXME: remove after snapshot (6/13/12) struct s_exchange_malloc_args { uintptr_t retval; type_desc *td; @@ -238,6 +239,7 @@ shared_malloc(rust_task *task, type_desc *td, uintptr_t size) { return (uintptr_t)box; } +// FIXME: remove after snapshot (6/13/12) struct s_malloc_args { uintptr_t retval; type_desc *td; |
