479 Commits

Author SHA1 Message Date
Graydon Hoare
b2427509e2 Another go at changing compile-command, this time using RBUILD env var. 2011-03-25 15:07:27 -07:00
Graydon Hoare
91c2b82b09 Revert "Bulk-edit compile commands in emacs chatter to point to assumed build/ dir off src root."
This reverts commit 846f2e2ba994268725f38c36fa12f1a09f21615c.
2011-03-25 14:05:38 -07:00
Graydon Hoare
846f2e2ba9 Bulk-edit compile commands in emacs chatter to point to assumed build/ dir off src root. 2011-03-25 13:48:37 -07:00
Tim Chevalier
2bd78c176d Improve error message when the lexer sees a bad character 2011-03-24 12:37:12 -07:00
Patrick Walton
949ba9ca46 rustboot: Parse, and ignore, "mutable?" 2011-03-18 12:05:04 -07:00
Graydon Hoare
54587bdccb Switch all vases of vec += elt to vec += vec. Prohibit former in rustboot. Tweak std lib vec fns in process. 2011-03-16 14:58:02 -07:00
Graydon Hoare
fc7cbe31f9 Switch rustboot from element-wise copying to take+drop+memcpy. Un-XFAIL size-and-align.rs for rustc. 2011-03-11 13:44:24 -08:00
Graydon Hoare
ab7b9b847a Fix seemingly un-noticed thinko in structural copying code in rustboot. 2011-03-10 14:15:41 -08:00
Graydon Hoare
67a9532dee Remove GC overspend; running out of memory on some tinderboxes. 2011-03-08 16:32:39 -08:00
Graydon Hoare
d97c800e31 Make ret and fail stmts have 0 out-edges, Closes #250. 2011-03-05 20:05:02 +00:00
Graydon Hoare
5c7db0cde1 Rewrite rustboot's flow-graph wiring passes to be less awful. Add test for nested control-flow constructs. 2011-03-03 15:19:26 -08:00
Graydon Hoare
af4d6ae76b Add ABI tagging to crates, adjust rustc output and runtime stack-frame setup so access to argv works. 2011-02-22 16:37:27 -08:00
Brian Anderson
c0f997be21 Revert EI_OSABI ELF header field back to 0 for Linux 2011-02-10 12:00:45 -08:00
Graydon Hoare
71e3ac873a Re-indent a bit of elf. 2011-02-09 11:37:56 -08:00
Graydon Hoare
eb854ffb44 Add several 1-word .bss fragments for FreeBSD. 2011-02-09 11:37:56 -08:00
Graydon Hoare
60635999f3 Add .bss fragment support to elf. 2011-02-09 11:37:55 -08:00
Rob Arnold
a1cc5ac63c Adapt elf.ml to handle differences between Linux and FreeBSD. 2011-02-09 11:37:20 -08:00
Rob Arnold
6466795a70 Add FreeBSD_x86_elf target to rustboot 2011-02-09 11:37:10 -08:00
Graydon Hoare
0499d4ac29 Update various README files in the tree. 2011-01-26 16:00:19 -08:00
Graydon Hoare
8bc57fa85e Tweak effect-checking rules in rustboot, remove/rewrite/re-auth impure cases in trans.rs 2011-01-21 07:59:56 -08:00
Graydon Hoare
4ccdece184 Wrap long line. 2011-01-12 15:13:37 -08:00
Graydon Hoare
19e70d76fc Guard a bunch more logging calls. Cut 10s off rustc compile time. 2011-01-12 14:49:35 -08:00
Graydon Hoare
59c9e6caff Guard unguarded log calls that snuck in. Shave 5s off building rustc. 2011-01-11 18:30:22 -08:00
Graydon Hoare
b81aa05fa1 Recursively genericize types and spread across glue. Saves 1mb size, 8s compile time on rustc. 2011-01-11 17:58:03 -08:00
Graydon Hoare
f5bf8d074b Out-of-line all drop glue. Shaves 50kb from rustc. 2011-01-11 16:45:29 -08:00
Graydon Hoare
5e9279586b Make rustboot fn/obj drops generic; cuts 300kb size, 10s compile time off rustc. 2011-01-11 16:25:18 -08:00
Graydon Hoare
ad19961c47 More mopping up wrong-named rules in the Makefile. 2010-12-29 17:46:22 -08:00
Graydon Hoare
454bf428ef Remove LLVM rustboot backend. 2010-12-29 16:27:19 -08:00
Patrick Walton
d7cbeba731 rustboot: Only bottom out at opaque IL types after finding two cycles. DON'T ASK ME WHY THIS WORKS. 2010-12-21 15:59:14 -08:00
Graydon Hoare
734c190918 Syntax tweak: move 'mutable' from pseudo-ty-param on vec ctor to low-precedence prefix inside paren. 2010-12-13 09:25:19 -08:00
Graydon Hoare
a98b2ebb4a Change 'stratum' to the friendlier term 'layer'. 2010-12-03 12:15:32 -08:00
Graydon Hoare
98a63bd1f9 Add code to fail on non-exhaustive alt matching. Fix all cases this picked up in rustc. 2010-12-01 17:09:02 -08:00
Graydon Hoare
3e08171fc2 Change mutability into a type constructor. 2010-11-29 15:29:55 -08:00
Patrick Walton
c410d68529 rustboot: Say when a binary operator is unimplemented rather than asserting in trans 2010-11-19 17:41:44 -08:00
Graydon Hoare
44a0c7225d Isolate while-header bug to minimal testcase, fix in rustboot, remove workaround in rustc. 2010-11-19 14:59:58 -08:00
Patrick Walton
77ff12c435 rustboot: Don't use walk to traverse statements in type.ml; fixes redundant checking, improves diagnostics. Also report untyped slots. 2010-11-18 14:19:06 -08:00
Graydon Hoare
26ecec4e12 Update frame logic to be compatible with SysV x86 ABI. Improves diagnostics. 2010-11-16 13:51:32 -08:00
Graydon Hoare
fce535c04a Change PVAL_num to PVAL_int and remove non-int literal forms. 2010-11-13 22:39:41 -08:00
Graydon Hoare
ae570016a4 Remove dead code in cexp. 2010-11-13 22:34:48 -08:00
Graydon Hoare
d1e7f0b414 Redo the scheme for block context chaining and termination, to simplify and support ret better. 2010-11-10 17:46:49 -08:00
Graydon Hoare
89946609f2 Support a special const-value refcount, use it for const strings. 2010-11-09 14:15:07 -08:00
Graydon Hoare
3e9be14757 Add a check for binding an alias. Good thing, as we had two instances in our library. 2010-11-08 15:45:30 -08:00
Graydon Hoare
c5720b2fc4 Fix linux burn caused by last commit on friday. 2010-11-08 13:36:03 -08:00
Graydon Hoare
049072db82 Update lltrans to also emit WinMain@16 on windows. 2010-11-05 18:45:06 -07:00
Patrick Walton
de166745b8 rustboot: Report the alias-ness of function parameters in type errors 2010-11-05 18:27:34 -07:00
Patrick Walton
79015e2d59 rustboot: If something that wasn't a type was found where a type was expected, report where the error was 2010-11-05 17:31:35 -07:00
Patrick Walton
91b1885ba2 rustboot: Report mismatched effect qualifiers 2010-11-05 13:44:37 -07:00
Patrick Walton
e399926776 rustboot: Report cyclic import errors at the right location 2010-11-05 11:02:17 -07:00
Patrick Walton
a58016d43e rustboot: Describe the cycle when reporting a cyclic import error 2010-11-05 10:37:32 -07:00
Patrick Walton
896570a3a9 rustboot: When resolving recursively, build up error messages recursively as well 2010-11-03 19:15:16 -07:00