Patrick Walton
|
050f62983d
|
stdlib: Introduce an ivec module into the standard library; add a minimal test case
|
2011-06-16 16:08:26 -07:00 |
|
Eric Holk
|
6ed6791df4
|
Removing dead upcall_join. Closes #509.
|
2011-06-16 12:23:13 -07:00 |
|
Michael Sullivan
|
bd8f6097a7
|
Get rid of old vec_append glue.
|
2011-06-16 11:58:29 -07:00 |
|
Patrick Walton
|
02c0501a61
|
rt: memory_region::free(NULL) shouldn't touch the live allocation count
|
2011-06-16 11:16:03 -07:00 |
|
Patrick Walton
|
f9da8b2676
|
rt: Add an ivec length intrinsic and an ivec reserve function, both untested as of yet
|
2011-06-16 10:32:52 -07:00 |
|
Eric Holk
|
67360ae618
|
Fixed a problem where spawn arguments were getting lost again. Also, fixed up stack alignment, which closes #496
|
2011-06-15 18:16:59 -07:00 |
|
Eric Holk
|
c4f9bd9470
|
Re-enabled join.
|
2011-06-15 18:16:59 -07:00 |
|
Eric Holk
|
02018fed42
|
Step 3 of cdecl conversion.
|
2011-06-15 16:04:39 -07:00 |
|
Eric Holk
|
92bd35075b
|
Step 2 of cdecl task transition.
|
2011-06-15 14:25:53 -07:00 |
|
Eric Holk
|
01ea27b205
|
Step 1 of moving task startup to always be cdecl.
|
2011-06-15 12:10:15 -07:00 |
|
Patrick Walton
|
ac743cfcb0
|
Merge pull request #490 from msullivan/fix_vec_append
Move the implementation of vec_append from llvm assembly to a regular upcall
|
2011-06-14 18:32:04 -07:00 |
|
Patrick Walton
|
c6be352f73
|
rustc: Implement on-heap resizing for interior vectors
|
2011-06-14 18:23:13 -07:00 |
|
Michael Sullivan
|
ccd1bcf7a7
|
Make tydesc glue functions use cdecl.
|
2011-06-14 16:09:21 -07:00 |
|
Michael Sullivan
|
95def699f1
|
Implement upcall_vec_append and use it for vector append.
|
2011-06-14 15:35:09 -07:00 |
|
Michael Sullivan
|
491d110645
|
Make type_desc fields have useful types and better names. Add in cmp_glue.
|
2011-06-14 15:35:08 -07:00 |
|
Patrick Walton
|
355c417267
|
rustc: Add some interior vector spill code, untested as of yet
|
2011-06-13 19:27:04 -07:00 |
|
Patrick Walton
|
c3bf7d07e9
|
rustc: Implement simple interior vector append translation
|
2011-06-13 18:57:25 -07:00 |
|
Eric Holk
|
d1857d30fc
|
This is the mega-ucontext commit. It replaces the task switching mechanism with a new one inspired by ucontext. It works under Linux, OS X and Windows, and is Valgrind clean on Linux and OS X (provided the runtime is built with gcc).
This commit also moves yield and join to the standard library, as requested in #42. Join is currently a no-op though.
|
2011-06-13 18:14:13 -07:00 |
|
Graydon Hoare
|
a1bc2b17cc
|
Make darwin happy.
|
2011-06-10 18:32:38 -07:00 |
|
Graydon Hoare
|
603ad1748b
|
Fix printf flags.
|
2011-06-10 17:59:34 -07:00 |
|
Graydon Hoare
|
1d1010cac0
|
Move rt:: logging namespace to ::rt:: and implement RUST_LOG=? and RUST_LOG=::help as synonyms that dump the crate logging map. Also warn when some logging specs don't match.
|
2011-06-10 17:31:48 -07:00 |
|
Graydon Hoare
|
52c4c9014f
|
Encode meta tags in the crate and start sketching enhanced logic for resolving crate "use" directives.
Now with extra "works on OSX" kludging.
|
2011-06-10 12:57:29 -07:00 |
|
Erick Tryzelaar
|
501201a431
|
Remove executable bit from lock_and_signal.cpp.
|
2011-06-09 12:30:57 -07:00 |
|
Rafael Ávila de Espíndola
|
46920e073b
|
Remove hack now that stage0 doesn't use it.
|
2011-06-09 14:26:10 -04:00 |
|
Rafael Ávila de Espíndola
|
b1d6f12a05
|
Don't put a copy of main (the C one) in each binary we produce. This is a step
in getting a driver that works on all linux systems.
Sorry for the linker hacks, I will remove them after snapshotting a new compiler.
|
2011-06-07 16:56:27 -04:00 |
|
Rafael Ávila de Espíndola
|
cc96eeafca
|
Move rust_vec_append_glue to rt.
|
2011-05-31 14:32:08 -04:00 |
|
Rafael Ávila de Espíndola
|
697be84d61
|
Fix the bots.
|
2011-05-31 13:50:16 -04:00 |
|
Rafael Ávila de Espíndola
|
3dc6c3b737
|
Remove code that is now dead.
|
2011-05-31 13:38:10 -04:00 |
|
Rafael Ávila de Espíndola
|
e66f9e46f6
|
Start finishing up the rust_start signature transition.
|
2011-05-31 11:17:17 -04:00 |
|
Brian Anderson
|
973b93ee2a
|
rt: Use new module syntax for logging rt pseudo-modules
Now use RUST_LOG=rt::mem instead of RUST_LOG=rt.mem
|
2011-05-30 17:17:51 -04:00 |
|
Eric Holk
|
8cfc388d40
|
Switched calling conventions so that spawn with multiple arguments works.
|
2011-05-27 15:20:58 -07:00 |
|
Eric Holk
|
d49998f0ed
|
Switching over to wrappers for spawning functions of multiple arguments. Doesn't quite work yet.
|
2011-05-27 15:20:58 -07:00 |
|
Eric Holk
|
dad426419c
|
Working on 2 argument spawn. The arguments seem to be copied correctly once, but then they get lost.
|
2011-05-27 15:20:58 -07:00 |
|
Graydon Hoare
|
79c9e13073
|
More delicious dead code removal from runtime, upcalls.
|
2011-05-26 18:21:02 -07:00 |
|
Rafael Ávila de Espíndola
|
4c4a4aee91
|
Fix non linux bots.
|
2011-05-25 16:03:50 -04:00 |
|
Rafael Ávila de Espíndola
|
94129c4216
|
dead argument removal part one.
|
2011-05-25 15:33:57 -04:00 |
|
Rafael Ávila de Espíndola
|
db47cb5c13
|
Dead code.
|
2011-05-25 15:22:25 -04:00 |
|
Rafael Ávila de Espíndola
|
0e324cad0a
|
Dead code.
|
2011-05-25 15:08:31 -04:00 |
|
Rafael Ávila de Espíndola
|
9a3624466b
|
Dead code.
|
2011-05-25 14:12:09 -04:00 |
|
Rafael Ávila de Espíndola
|
2306fb19f2
|
dead code.
|
2011-05-25 13:25:00 -04:00 |
|
Rafael Ávila de Espíndola
|
23c1335cb3
|
Dead code.
|
2011-05-25 12:00:16 -04:00 |
|
Rafael Ávila de Espíndola
|
579b317ae8
|
Dead code.
|
2011-05-25 11:45:07 -04:00 |
|
Rafael Ávila de Espíndola
|
3eafea46a3
|
Dead code.
|
2011-05-25 11:36:34 -04:00 |
|
Rafael Ávila de Espíndola
|
4364be3744
|
Dead code.
|
2011-05-24 20:36:27 -04:00 |
|
Rafael Ávila de Espíndola
|
0c1ea141b4
|
Dead code.
|
2011-05-24 20:12:30 -04:00 |
|
Rafael Ávila de Espíndola
|
f9946c9748
|
Dead code.
|
2011-05-24 19:39:30 -04:00 |
|
Rafael Ávila de Espíndola
|
40a3923fca
|
Dead code.
|
2011-05-24 19:29:46 -04:00 |
|
Rafael Ávila de Espíndola
|
395940f7e3
|
Dead code elimination.
|
2011-05-24 19:07:30 -04:00 |
|
Rafael Ávila de Espíndola
|
de2e84e5b0
|
Only one gc glue.
|
2011-05-24 18:52:31 -04:00 |
|
Rafael Ávila de Espíndola
|
ac836dd79c
|
There is only one yield glue.
|
2011-05-24 18:29:08 -04:00 |
|