about summary refs log tree commit diff
path: root/src/rt/rust_shape.cpp
AgeCommit message (Collapse)AuthorLines
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.
2011-08-26rt: Allow closures to be loggedPatrick Walton-7/+11
2011-08-24rt: Fix walk_obj_contents for type-parameteric objects. Hash tables can be ↵Patrick Walton-3/+14
logged now.
2011-08-24rt: Factor out type param construction into from_tydesc and from_obj_shape. ↵Patrick Walton-11/+25
(The latter is unimplemented at the moment.)
2011-08-24rt: Print out fields of objects when logging themPatrick Walton-0/+6
2011-08-20Move bump_dp, get_dp from rust_shape.cpp to rust_shape.hBrian Anderson-18/+0
Put out the darwin fire for real
2011-08-20Revert "Add another 'using namespace shape' inside namespace shape"Brian Anderson-2/+0
This reverts commit 09f4cd90a852b69bb72fc5385fdabbde39f5fb91.
2011-08-20Add another 'using namespace shape' inside namespace shapeBrian Anderson-0/+2
Try again to put out the darwin tinderbox
2011-08-19rt: Split out shapes into rust_shape.cpp and rust_shape.h so that shape code ↵Patrick Walton-916/+1
can be written outside of rust_shape.cpp
2011-08-18Rename rust_vec to rust_evecBrian Anderson-1/+1
2011-08-17rustc: Use obstacks in lieu of dynamically-allocated frames only when the ↵Patrick Walton-15/+10
frame is actually dynamically-sized
2011-08-17Revert "rt: Use obstacks in lieu of dynamically-sized frames"Patrick Walton-10/+15
This reverts commit cc5fcfce89312042e52401eb883160ebf289235f.
2011-08-17rt: Use obstacks in lieu of dynamically-sized framesPatrick Walton-15/+10
2011-08-16Removing port, chan and task shapes.Eric Holk-6/+0
2011-08-10rt: Add the last few cases to polymorphic logPatrick Walton-0/+11
2011-08-10rt: Step over type params properly in gluePatrick Walton-0/+1
2011-08-10rt: Allow records and boxes to be loggedPatrick Walton-11/+48
2011-08-10rt: Allow tags to be loggedPatrick Walton-3/+31
2011-08-10rt: Implement logging of vectorsPatrick Walton-1/+20
2011-08-10rt: Implement polymorphic log on stringsPatrick Walton-2/+33
2011-08-10rustc: Use polymorphic loggingPatrick Walton-25/+90
2011-08-09rt: Stub code for polymorphic logPatrick Walton-2/+45
2011-08-09rt: Implement comparison of functions, objects, ports, channels, and tasksPatrick Walton-1/+21
2011-08-09rt: Don't walk vars twice. We self-host with compare glue now.Patrick Walton-1/+0
2011-08-09rt: Initialize "result" in all constructors for cmpPatrick Walton-1/+2
2011-08-09rt: Compare exterior vectorsPatrick Walton-8/+36
2011-08-09rt: Make comparison through type vars workPatrick Walton-21/+14
2011-08-09rt: Fix comparison of interior vectorsPatrick Walton-5/+63
2011-08-08rt: Add code to walk over interior vectors, untested as of yetPatrick Walton-27/+84
2011-08-08rt: Compare tagsPatrick Walton-7/+59
2011-08-08rt: Align when comparing the insides of boxesPatrick Walton-13/+10
2011-08-08rt: Compare the insides of boxesPatrick Walton-6/+32
2011-08-08rt: "const foo const &" == "const foo &", duh. Puts out burning tinderbox.Patrick Walton-1/+1