Graydon Hoare
|
e828b2a94d
|
Tidy up (I think) a couple typos from patrick's last commit.
|
2010-06-30 01:45:36 -07:00 |
|
Graydon Hoare
|
df0eebcf1e
|
Improve error message.
|
2010-06-30 01:42:40 -07:00 |
|
Graydon Hoare
|
5a8d93c652
|
Remove redundant (and misnamed) function "without_exterior" in trans.
|
2010-06-30 00:58:15 -07:00 |
|
Graydon Hoare
|
d796673c11
|
Reimplement backup scheme for handling lvals not yet resolved by typechecker.
|
2010-06-30 00:57:28 -07:00 |
|
Graydon Hoare
|
8120a59097
|
Init the exterior ty, not the inner ty.
|
2010-06-30 00:56:44 -07:00 |
|
Graydon Hoare
|
6ee16b588d
|
Fix error-message typo.
|
2010-06-30 00:55:53 -07:00 |
|
Graydon Hoare
|
992f344c83
|
Use simplified_ty in effect.
|
2010-06-30 00:55:27 -07:00 |
|
Graydon Hoare
|
7e853457df
|
Move simplified_ty from trans to semant and use it a few places.
|
2010-06-30 00:55:04 -07:00 |
|
Graydon Hoare
|
861423989d
|
Add logging to type and effect.
|
2010-06-30 00:53:33 -07:00 |
|
Graydon Hoare
|
2a1d88ae00
|
Fix exterior formatter.
|
2010-06-30 00:52:52 -07:00 |
|
Graydon Hoare
|
7d076bcaa0
|
Get compiler to the point of building std.rc and rustc.rc.
|
2010-06-30 00:07:37 -07:00 |
|
Graydon Hoare
|
675f90eca3
|
Handle constrained types in type.ml while we're at it.
|
2010-06-30 00:07:05 -07:00 |
|
Graydon Hoare
|
fc1b86e1ca
|
Wrap long lines.
|
2010-06-30 00:06:31 -07:00 |
|
Patrick Walton
|
c2d4c1116f
|
Teach the typechecker about the auto-dereference and auto-promote-to-mutable semantics we're going with
|
2010-06-29 19:56:04 -07:00 |
|
Graydon Hoare
|
f05fc6b9d7
|
Different, not quite correct yet, but I think slightly closer to correct, approach to convincing the typechecker to get along with this new type grammar.
|
2010-06-29 18:25:16 -07:00 |
|
Graydon Hoare
|
2a00a61ef3
|
Thread a 'simplification' flag through unifier, attempt to strip off layers of ignorable types when simplification is permitted.
Gets std.rc through typechecking, but assigns some wrong types to lvals (the simplified types, not the correct ones).
|
2010-06-29 16:46:07 -07:00 |
|
Graydon Hoare
|
7b11a52a37
|
Update LLVM translation to match changes to slot and ty.
|
2010-06-29 14:06:50 -07:00 |
|
Graydon Hoare
|
1f9fd2710e
|
Initial stab at lowering mutable and exterior into the type system.
|
2010-06-29 12:00:15 -07:00 |
|
Graydon Hoare
|
ffdcd67c25
|
Fix underlying failure to signal errors when dep'ing.
|
2010-06-29 10:32:11 -07:00 |
|
Graydon Hoare
|
329a65530f
|
Canonicalize hashtables after running them through htab_map. Closes #77.
|
2010-06-28 19:24:04 -07:00 |
|
Graydon Hoare
|
bd059a354d
|
Whitespace.
|
2010-06-28 19:21:09 -07:00 |
|
Graydon Hoare
|
5abc483d9a
|
Move more of the GC logic into the runtime.
|
2010-06-28 18:53:43 -07:00 |
|
Roy Frostig
|
66d313d365
|
Teach the typechecker that uints are integral types. Closes #88.
|
2010-06-28 15:27:05 -07:00 |
|
Graydon Hoare
|
d608c09168
|
Some fixme-to-issue housekeeping.
|
2010-06-28 09:39:43 -07:00 |
|
Graydon Hoare
|
e1f6749f9a
|
Once more with feeling. Closes #13.
|
2010-06-27 20:54:33 -07:00 |
|
Graydon Hoare
|
8815c02005
|
Previous commit closes #13. Trying to convince github of that fact automagically.
|
2010-06-27 20:53:07 -07:00 |
|
Graydon Hoare
|
1316312c0c
|
Only translate or dwarf-emit items or stubs locally defined or used. Avoids instantiating O(sizeof(standard-library)) worth of imports stubs on each 'use std'. Closes issue 13.
|
2010-06-27 20:48:28 -07:00 |
|
Graydon Hoare
|
7045526a3e
|
Change slot_mem_ctrl to classify vec[state] as GC mem. Breaking / XFAILing mutable-vec-drop.rs test.
|
2010-06-27 13:53:23 -07:00 |
|
Graydon Hoare
|
fb3e2fa4bf
|
Encode tag and iso types at dwarf level. Can't decode them yet.
|
2010-06-27 13:48:25 -07:00 |
|
Graydon Hoare
|
9236ad2846
|
Further attempts to convince mem_ctrl to be sane.
|
2010-06-25 23:55:36 -07:00 |
|
Graydon Hoare
|
50e96414d2
|
Fix register-use bugs in sweep pass, factor sweep pass out and call twice for separate sever/free phases.
|
2010-06-25 23:07:34 -07:00 |
|
Graydon Hoare
|
90eaaf666b
|
Improve sever_slot logging.
|
2010-06-25 23:03:06 -07:00 |
|
Graydon Hoare
|
49ac5e6312
|
Fix copy-paste error in logging function.
|
2010-06-25 23:02:19 -07:00 |
|
Graydon Hoare
|
37426e42cf
|
Add sever-glue, for missing first stage of sweep.
|
2010-06-25 21:57:46 -07:00 |
|
Graydon Hoare
|
0cf3c2ad93
|
Pass type parameters to free function called from sweep loop.
|
2010-06-25 21:20:32 -07:00 |
|
Graydon Hoare
|
3718055276
|
Align emitted DATA_* elements -- tydescs in particular -- to 16 byte boundaries, so we can get our tag bit freed up.
|
2010-06-25 20:47:16 -07:00 |
|
Graydon Hoare
|
dd2716f56c
|
Fix bad register use in GC sweep pass.
|
2010-06-25 20:46:11 -07:00 |
|
Graydon Hoare
|
968ec14527
|
Fix marking logic.
|
2010-06-25 19:56:29 -07:00 |
|
Graydon Hoare
|
34dc7053eb
|
Fix over-conservatism in alias analysis.
|
2010-06-25 19:55:40 -07:00 |
|
Graydon Hoare
|
c56a729ff1
|
Remove obsolete comment.
|
2010-06-25 17:32:35 -07:00 |
|
Graydon Hoare
|
eb7807c4fe
|
I hear actually loading the next pointer into the right register helps when walking a list.
|
2010-06-25 17:31:08 -07:00 |
|
Graydon Hoare
|
d601b357ec
|
Debug GC glue enough that marking passes.
|
2010-06-25 16:59:29 -07:00 |
|
Graydon Hoare
|
2a2474d497
|
Update comment to reflect slightly-improved GC situation.
|
2010-06-25 16:56:25 -07:00 |
|
Graydon Hoare
|
67d1f0a9aa
|
Emit gc glue and rearrange crate glue offsets slightly to have a regular order.
|
2010-06-25 15:43:55 -07:00 |
|
Graydon Hoare
|
2e3fa5bd68
|
Return at end of GC glue.
|
2010-06-25 15:43:03 -07:00 |
|
Graydon Hoare
|
c06ea8f944
|
Add test of recursive object types (ha, work by default) and fix effect-walker bug revealed by it.
|
2010-06-25 12:15:40 -07:00 |
|
Graydon Hoare
|
422b8a6be4
|
Unlink (doubly) gc chain on free.
|
2010-06-25 11:48:17 -07:00 |
|
Graydon Hoare
|
e875993471
|
Doubly-link gc chain on alloc.
|
2010-06-25 11:00:23 -07:00 |
|
Graydon Hoare
|
63b5e18207
|
Enlarge gc header to doubly-link the gc chain.
|
2010-06-25 09:00:08 -07:00 |
|
Graydon Hoare
|
5dfe101e51
|
Revert "Add intrinsic calling convention." Isn't going to work.
This reverts commit 72c6c60d80cdfe63af5046a1a98549f0515734f2.
|
2010-06-25 01:33:00 -07:00 |
|