Graydon Hoare
|
cdf67b1f2e
|
Better backpointer logic.
|
2010-10-05 18:09:49 -07:00 |
|
Graydon Hoare
|
b970563fe3
|
Patchwork of attempted fixes to effect system and gc system; eventually give up and disable it entirely in the runtime. Will need extensive reworking.
|
2010-09-29 17:22:13 -07:00 |
|
Graydon Hoare
|
c5f4789d5b
|
Bind pattern slots with ?, drop parens from 0-ary tag constructors, translate 0-ary constructors as constants. Rustc loses ~300kb.
|
2010-09-20 23:56:43 -07:00 |
|
Graydon Hoare
|
79dc07d648
|
Use hashtable rather than bitset for vreg constraints in ra; speeds compilation.
|
2010-09-09 18:56:51 -07:00 |
|
Graydon Hoare
|
a9e2327a18
|
Switch tags to purely nominal, removing TY_iso and TY_idx. Seems to mostly work, possibly a little bumpy. Changes a lot.
|
2010-09-09 15:59:29 -07:00 |
|
Michael Bebenita
|
de611a3090
|
Lots of design changes around proxies and message passing. Made it so that domains can only talk to other domains via handles, and with the help of the rust_kernel.
|
2010-09-07 18:44:12 -07:00 |
|
Roy Frostig
|
4e355aebf7
|
When vec growth results in a newly allocated (extended) buffer, copy existing elements over via element-wise copy, not flat memcpy. Introduce new vec growth glue to achieve this.
|
2010-09-03 16:18:32 -07:00 |
|
Graydon Hoare
|
b90e6b93c1
|
Whitespace churn.
|
2010-08-31 14:36:51 -07:00 |
|
Graydon Hoare
|
7cfa7bdd23
|
Make vreg constrs per-quad, regfence on nontrivial constrs, back out workaround to _uint, add regression test. Closes #152.
|
2010-08-26 16:27:47 -07:00 |
|
Graydon Hoare
|
ee04c0236c
|
Add check to catch bug underlying issue #152. Fix will take longer.
|
2010-08-26 14:32:47 -07:00 |
|
Graydon Hoare
|
2c8ae5ca8d
|
Add element to closure to hold captured tydesc (not body tydesc).
|
2010-08-25 16:36:18 -07:00 |
|
Graydon Hoare
|
8e0f486ea6
|
First pass of updating the in-memory layout of closures, for issue 81.
|
2010-08-25 14:42:28 -07:00 |
|
Graydon Hoare
|
b2b72a08db
|
Janitorial work on obj box / body / field terminology, following froystig's brave lead.
|
2010-08-25 12:08:05 -07:00 |
|
Patrick Walton
|
b6b348a13c
|
Export all item code to stabs on Windows (including e.g. object methods)
|
2010-08-19 16:50:18 -07:00 |
|
Patrick Walton
|
31aceda09e
|
Export glue as stabs on Windows as well
|
2010-08-19 16:15:37 -07:00 |
|
Patrick Walton
|
09ebda7ce5
|
Add some mangled stabs to help debugging on Windows
|
2010-08-19 15:38:57 -07:00 |
|
Graydon Hoare
|
8149bb1411
|
Zero LMA/VMA of debug sections in elf. Closes #148.
|
2010-08-12 18:45:41 -07:00 |
|
Graydon Hoare
|
88d9a79ac8
|
Some ELF correctness issues, but apparently none enough to placate gdb.
|
2010-08-11 16:57:34 -07:00 |
|
Graydon Hoare
|
60e5ad384e
|
Put out burning tinderbox on OSX.
|
2010-08-10 16:49:36 -07:00 |
|
Graydon Hoare
|
9f6dec9e13
|
Always bounce mul/div/mod ops. Closes #131 harder.
|
2010-08-10 16:03:58 -07:00 |
|
Roy Frostig
|
982dcc29bf
|
Get object's captured typarams when calculating sizes in the backend's fn-prologue-generation for object methods.
|
2010-08-09 15:45:08 -07:00 |
|
Michael Bebenita
|
8395d46163
|
Changed seemingly incorrect stk_field_valgrind_id.
|
2010-08-09 07:01:20 -07:00 |
|
Graydon Hoare
|
db561b52ff
|
Degrade emitter size cache to just a flat hashtable with regular flushes (sigh) and re-introduce horrible bounce-off-spill hack for DIV, MUL, etc.
|
2010-08-05 17:44:35 -07:00 |
|
Graydon Hoare
|
29987b56e1
|
Move 'as' precedence up to just above relational; support indexing str and vec by all integral types. Closes #94.
|
2010-08-05 10:04:11 -07:00 |
|
Graydon Hoare
|
7595aca5e3
|
Kill the preallocator, install a sane replacement. Closes #131. And probably a lot of others.
|
2010-08-04 00:27:36 -07:00 |
|
Graydon Hoare
|
d1a67574c6
|
Factor append_quad out of IL.emit_full, for use elsewhere.
|
2010-08-03 18:59:26 -07:00 |
|
Graydon Hoare
|
c014748c01
|
Remove dead implicit-destinations logic from IL.
|
2010-08-03 18:52:49 -07:00 |
|
Graydon Hoare
|
e85f6ca4d3
|
Patch up another place where the newly-expanded 'closure-ptr' implicit arg needs to be passed. Amazingly, it mostly-worked without this. On some platforms.
|
2010-07-30 19:14:42 -07:00 |
|
Graydon Hoare
|
b7d7f70d09
|
Slight shaving on RA, no more optimizing today. It's fast enough for now.
|
2010-07-26 16:55:54 -07:00 |
|
Graydon Hoare
|
025b1e4133
|
Do some more iflog-guarding.
|
2010-07-26 12:30:02 -07:00 |
|
Roy Frostig
|
7ef9e82f51
|
Don't write to NULL after calling C natives returning void.
|
2010-07-25 21:27:28 -07:00 |
|
Roy Frostig
|
1730d2e037
|
Notify copy glue of dst-initialization and fix _vec.alloc issues in lib and runtime. Closes #109.
|
2010-07-22 17:47:32 -07:00 |
|
Michael Bebenita
|
00d1465d13
|
Added a message passing system based on lock free queues for inter-thread communication. Channels now buffer on the sending side, and no longer require blocking when sending. Lots of other refactoring and bug fixes.
|
2010-07-19 14:05:18 -07:00 |
|
Patrick Walton
|
1c1dc651a7
|
Stub an interface to the (as-yet-nonexistent) structural comparison glue in trans
|
2010-07-18 14:25:43 +08:00 |
|
Roy Frostig
|
700e522dff
|
More renaming of GEP offsets in abi/trans. This should settle it. Also, fix some overenthusiastic renaming in previous commit.
|
2010-07-16 12:23:46 -07:00 |
|
Roy Frostig
|
348e434cee
|
Clean up nomenclature in the Abi constants brigade. Purge magic GEP numbers in trans. Adjust obj_closure_rty (and its consumers) to be more explicit about the fact that it is a box.
|
2010-07-16 11:17:25 -07:00 |
|
Jeffrey Yasskin
|
29d0458814
|
Remove the __PAGEZERO segment from shared MachO libraries. This avoids a
segfault in dlclose() and fixes the tests on OSX 10.5.8.
|
2010-07-16 08:13:07 +08:00 |
|
Jeffrey Yasskin
|
9c4bc7b872
|
In Mach-O shared libraries, avoid counting an extra load command. Closes #99.
|
2010-07-16 08:13:07 +08:00 |
|
Roy Frostig
|
d2b845d29c
|
Define (in Abi) and use named constants for indices of elements of an obj IL referent type.
|
2010-07-15 16:54:38 -07:00 |
|
Roy Frostig
|
df75165cf4
|
Make the x86 backend push an extra word as closure/obj arg when emitting any code that amounts to a glue or native call.
|
2010-07-15 12:30:46 -07:00 |
|
Roy Frostig
|
e21865a440
|
Begin moving closure-or-obj pointer out to front of call args by changing the order within the call-arg tup referent type. This breaks the world quite a bit, since it remains to fix custom call paths: glue, upcalls, natives.
|
2010-07-15 12:30:46 -07:00 |
|
Graydon Hoare
|
8e6c1aad82
|
Delete some dead code in x86.
|
2010-07-12 23:48:14 -07:00 |
|
Graydon Hoare
|
cf19c5132a
|
Hey, what's a coding sprint without an uncovered register allocation bug? No fun, I say.
|
2010-07-02 22:44:21 -07:00 |
|
Graydon Hoare
|
6a0b06e562
|
Rename 'exterior' to 'box' and 'interior' to 'local' (at least wrt. slots; keep MEM_interior for describing interior-parts-of-allocations)
|
2010-06-30 22:45:54 -07:00 |
|
Graydon Hoare
|
d608c09168
|
Some fixme-to-issue housekeeping.
|
2010-06-28 09:39:43 -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
|
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
|
dd2716f56c
|
Fix bad register use in GC sweep pass.
|
2010-06-25 20:46:11 -07:00 |
|
Graydon Hoare
|
c56a729ff1
|
Remove obsolete comment.
|
2010-06-25 17:32:35 -07:00 |
|