about summary refs log tree commit diff
path: root/src/rt/rust_shape.cpp
AgeCommit message (Collapse)AuthorLines
2012-08-23Fix logging code to not sign extend chars being printed in hex.Michael Sullivan-1/+2
2012-07-31Change remaining "iface" occurrences to "trait"; deprecate "iface"Lindsey Kuper-1/+1
2012-07-12Comments only: TODOs to FIXME in the runtimeTim Chevalier-1/+1
2012-07-10Get rid of unused fields in tydescs. Closes #2351.Michael Sullivan-2/+1
2012-06-26Fix shape::cmp::walk_res2Tim Chevalier-1/+1
2012-06-25Finish compare glue for classesTim Chevalier-1/+1
This tests == and !=. I don't know what <, >, etc. should do. Closes #2601
2012-06-24Remove resourcesTim Chevalier-5/+3
Also fixed shapes for classes with dtors, as well as handling offsets for classes with dtors correctly in take glue. Closes #2485
2012-06-12Introduce a SHAPE_UNBOXED_VEC shape in order to seperate out vector logic.Michael Sullivan-0/+5
2012-06-11Get rid of a bunch of dead shape code. Closes #2552.Michael Sullivan-111/+12
2012-06-11Add emacs settings to some runtime files where they were missing.Michael Sullivan-0/+9
2012-06-04Moved log method into logger class better than scheduler fixes #2495Arkaitz Jimenez-1/+1
2012-05-03More shape fixes for evecs.Graydon Hoare-2/+2
2012-05-03Implement better shape code for evec, estr.Graydon Hoare-0/+23
2012-05-02Remove unused sp_size arg passed through walk_vec{1,2} in shape code.Graydon Hoare-1/+1
2012-04-03Refactor includes structure, getting rid of rust_internal.hJon Morton-5/+3
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-02Add global rust_get_current_taskJon Morton-3/+3
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-4/+4
Conflicts: src/rt/rust_sched_loop.cpp src/rt/rust_shape.cpp src/rt/rust_task.cpp
2012-03-31rt: Fix whitespaceBrian Anderson-4/+6
2012-03-31rt: Rename rust_task_thread to rust_sched_loopBrian Anderson-4/+4
This class no longer represents a thread; it just schedules tasks.
2012-03-12rt: Change alignof to rust_alignof. Remove -Wno-c++11-compat. Closes #1644Brian Anderson-3/+3
2012-02-28rt: strings should escape chars like '\n' as '\n'Erick Tryzelaar-4/+13
2012-02-08make shape code use the tydesc found in the box, not the shape strNiko Matsakis-1/+10
2012-02-03rt: Rename rust_scheduler to rust_task_threadBrian Anderson-4/+4
2012-02-01make boxes self-describing (fixes #1493)" (take 2)Niko Matsakis-1/+1
this will be used to generate a new snapshot.
2012-02-01Revert "make boxes self-describing (fixes #1493)" until a newNiko Matsakis-1/+1
snapshot is prepared.
2012-02-01make boxes self-describing (fixes #1493)Niko Matsakis-1/+1
2012-01-17encode variant names and have log print them out.Niko Matsakis-3/+6
2012-01-12add tydescs into shape, rewrite walk_fn_contents()Niko Matsakis-9/+5
2012-01-12free uniq data we encounter on the sweep, walk thru them otherwiseNiko Matsakis-56/+60
2012-01-11add a log_str() function and allow '%?' in fmt strings to use itNiko Matsakis-0/+18
2012-01-06fix how we walk functions to match new closure fmtNiko Matsakis-7/+3
2011-12-28Tidy up some drift in runtime logging, close #1380.Graydon Hoare-2/+0
2011-12-15massive refactor of how closures workNiko Matsakis-4/+4
2011-12-06rt: Move upcall_cmp_type/upcall_log_type to rust_upcall.cppBrian Anderson-4/+4
2011-11-17comparing/walking two pointers still aligns same as 1 ptrNiko Matsakis-1/+1
2011-11-16adjust alignment, size of tag variant id and make it easy toNiko Matsakis-6/+6
adjust in the future
2011-10-20Get rid of taskpointer-passing throughout the compilerMarijn Haverbeke-1/+2
Only intrinsics still take a dummy taskptr. We'll have to do some makefile stunts to snapshot a version without taskptrs-in-intrinsics. Issue #466
2011-10-20Remove taskptr argument from upcallsMarijn Haverbeke-2/+2
Issue #466
2011-09-23rt: Get rid of the hack that looks for captured type descriptors adjacent to ↵Patrick Walton-3/+10
the root one for functions and objects
2011-09-21rustc: Port the fn and obj traversal logic over from the GC branch. Doesn't ↵Patrick Walton-5/+7
actually do anything yet due to lack of support in trans.
2011-09-21Log and compare unique boxesBrian Anderson-0/+10
Issue #409
2011-09-08rt: Don't double-print commas when logging e.g. a vec of boxesPatrick Walton-0/+1
2011-09-02rt: Remove evecs from the shape codePatrick Walton-4/+0
2011-08-31rt: Prevent trailing commas from showing up when logging oddly aligned arraysPatrick Walton-7/+6
2011-08-31rt: Introduce "end_dp" bailouts in order to avoid marching past the end of ↵Patrick Walton-3/+4
oddly aligned vectors
2011-08-31rt: Make |align| a member of the shape glue class instead of threading it ↵Patrick Walton-88/+82
through every function
2011-08-30rt: Fix logging of type-parametric resourcesPatrick Walton-11/+11
2011-08-30rustc: Allow non-type-parametric resources to be loggedPatrick Walton-8/+51
2011-08-29rt: Move to a custom alignof since __alignof__ returns the "preferred" ↵Patrick Walton-3/+3
alignment rather than the one that gets used in structs
2011-08-29Implement non-internal ivecsMarijn Haverbeke-13/+2
Vectors are now similar to our old, pre-internal vectors, except that they are uniquely owned, not refcounted. Their name should probably change too, then. I've renamed them to vec in the runtime, will do so throughout the compiler later.