summary refs log tree commit diff
path: root/src/rt/rust_upcall.cpp
AgeCommit message (Collapse)AuthorLines
2012-09-25rt: Remove the cycle collectorPatrick Walton-3/+0
2012-09-06Refactor trans to replace lvalue and friends with Datum.Niko Matsakis-1/+4
Also: - report illegal move/ref combos whether or not ref comes first - commented out fix for #3387, too restrictive and causes an ICE
2012-07-23Moved malloc and free upcalls into rust runtime.Elliott Slaughter-0/+32
2012-07-23Move fail upcall into rust libcore.Elliott Slaughter-0/+10
2012-07-10Eliminate some obsolete upcalls.Michael Sullivan-53/+0
2012-07-10Get rid of unused fields in tydescs. Closes #2351.Michael Sullivan-7/+4
2012-06-28move reset_stack_limit off C stack (closes #2679)Ben Blum-2/+0
2012-06-28rt: Add task_local_data and related builtin calls (Closes #2680)Ben Blum-15/+0
2012-06-27More keyword paring and migration in runtime, docs, code modes.Graydon Hoare-2/+2
2012-06-25rt: Remove upcall_malloc/upcall_exchange_malloc. Issue #2681Brian Anderson-19/+0
2012-06-21Tag all remaining FIXMEs with bugs. Install rule in tidy script to enforce this.Graydon Hoare-7/+7
2012-06-21Rename upcall_malloc_dyn to just upcall_malloc.Michael Sullivan-79/+39
2012-06-18Avoid extra get_current_task()s in many upcalls (performance)Ben Blum-44/+71
2012-06-18Fix generation of str/@. Closes #2638.Michael Sullivan-2/+3
2012-06-18Put type descriptors in strings created by the runtime. Progress on #2638.Michael Sullivan-3/+2
2012-06-13Make trans only generate calls to the _dyn malloc upcalls, so we can get rid ↵Michael Sullivan-0/+2
of the non dyn ones.
2012-06-13Add a malloc_dyn upcall for dynamically sized allocations on the shared heap.Michael Sullivan-28/+46
2012-06-07Remove a bunch of old "remove after snapshot" code.Michael Sullivan-2/+0
2012-06-07rt: Remove check_stack_alignmentBrian Anderson-14/+0
This function does not do what it tries to do and it is expensive
2012-06-05rt: Unique allocations have -1 ref countBrian Anderson-0/+3
2012-06-04Revert "rt: Unique allocations have -1 ref count"Brian Anderson-3/+0
This reverts commit 422aec85d6c02c7ff46be7032a2436c22ffd37fa.
2012-06-04rt: Unique allocations have -1 ref countBrian Anderson-0/+3
2012-05-31rt: Refactor task failure to go through rust_task_failBrian Anderson-3/+1
This is the place to but a breakpoint. We will raise SIGINT here to break into the debugger.
2012-05-30rt: Don't zero the unique box headerBrian Anderson-1/+3
2012-05-30rt: Remove upcall_shared_malloc/free/reallocBrian Anderson-75/+0
2012-05-30Various changes for self-describing vecsBrian Anderson-19/+20
2012-05-30rt: Add yet another allocating upcallBrian Anderson-14/+43
upcall_exchange_malloc_dyn, for allocating unique boxes for types that don't have a fixed size.
2012-05-30rt: Add upcall_exchange_malloc/freeBrian Anderson-0/+55
2012-05-18add a new debugging aid--tracingNiko Matsakis-0/+22
2012-04-18rt: Don't log in the stack switching failure pathBrian Anderson-5/+4
The runtime is in an uncertain state here and, instead of thinking about how to make the logger work correctly, let's just avoid it. Currently, it ends up hitting an assert saying that we can't log on the rust stack.
2012-04-16Get explicit unique estrs working.Graydon Hoare-5/+48
2012-04-03actually remove memory.h; include cleanupsJon Morton-1/+0
2012-04-03Refactor includes structure, getting rid of rust_internal.hJon Morton-2/+2
Many changes to code structure are included: - removed TIME_SLICE_IN_MS - removed sychronized_indexed_list - removed region_owned - kernel_owned move to kernel.h, task_owned moved to task.h - global configs moved to rust_globals.h - changed #pragma once to standard guard in rust_upcall.h - got rid of memory.h
2012-04-02Construct new strings through upcalls.Graydon Hoare-0/+21
2012-04-02Add global rust_get_current_taskJon Morton-15/+15
Previously two methods existed: rust_sched_loop::get_task and rust_task::get_task_from_tcb. Merge both of them into one, trying the faster one (tcb) first, and if that fails, the slower one from the tls.
2012-04-01Merge remote-tracking branch 'brson/mainthread'Brian Anderson-18/+18
Conflicts: src/rt/rust_sched_loop.cpp src/rt/rust_shape.cpp src/rt/rust_task.cpp
2012-03-31rt: Fix whitespaceBrian Anderson-2/+3
2012-03-31rt: Rename rust_task_thread to rust_sched_loopBrian Anderson-18/+18
This class no longer represents a thread; it just schedules tasks.
2012-03-28Fix some gcc-4.4-isms, should build now on 4.1+.Graydon Hoare-1/+2
2012-03-21rt: Use get_task_from_tcb during stack growth callsBrian Anderson-2/+2
2012-03-21rt: Rename record_sp to record_sp_limitBrian Anderson-3/+3
2012-03-21rt: Don't switch to the C stack on the upcall_new_stack fast pathBrian Anderson-18/+5
2012-03-21rt: Don't swatch stacks during upcall_del_stackBrian Anderson-6/+2
2012-03-19Send string concatenation to specialized upcall, shave 17s off librustc ↵Graydon Hoare-0/+28
compile time.
2012-03-16Remove shared tydescsMarijn Haverbeke-73/+0
All tydescs are static now, there's no need to worry about marshalling them between threads anymore.
2012-03-16Remove dynastack support from runtimeMarijn Haverbeke-89/+0
Issue #1982
2012-03-16Get rid of rust_crate_cache in the runtimeMarijn Haverbeke-67/+0
We are no longer generating dynamic tydescs or dicts. Issue #1982
2012-02-28rt: Reset the stack boundary after returning from crust functionsBrian Anderson-0/+3
2012-02-21Remove unused tydesc argument to upcall_shared_mallocMarijn Haverbeke-10/+5
2012-02-17rt: Make upcall_vec_push an intrinsicBrian Anderson-30/+20