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 |
|
Patrick Walton
|
db955d33b7
|
rustboot: Say exactly which name was unbound when reporting unbound name errors
|
2010-11-03 18:42:35 -07:00 |
|
Graydon Hoare
|
1e22a55ff2
|
Code sketch and comment notes on textual crate signatures.
|
2010-11-03 09:50:25 -07:00 |
|
Graydon Hoare
|
7abf6eb7c6
|
Shift obj, type, param decls to have strata rather than effects.
|
2010-11-02 17:20:57 -07:00 |
|
Graydon Hoare
|
7db115834f
|
Split out stratum-checking pass, implement more-strict (overly aggressive) impure-effect checking.
|
2010-11-02 15:24:46 -07:00 |
|
Graydon Hoare
|
da13c508d8
|
First pass on splitting stratum and opacity off of effects. WIP.
|
2010-11-02 11:11:58 -07:00 |
|
Patrick Walton
|
67bcc70754
|
rustboot: Emit an error instead of asserting in trans when a T is passed by value
|
2010-10-28 15:07:05 -07:00 |
|
Patrick Walton
|
b914e0e74c
|
Revert "rustboot: Emit an error instead of asserting in trans when a T is passed by value" due to test failures
This reverts commit ee901858a2.
|
2010-10-28 15:04:48 -07:00 |
|
Patrick Walton
|
ee901858a2
|
rustboot: Emit an error instead of asserting in trans when a T is passed by value
|
2010-10-28 15:02:00 -07:00 |
|
Patrick Walton
|
679dca8541
|
Emit a sensible error message if one or more of the parameters isn't enough context to instantiate a polymorphic function
|
2010-10-27 15:06:19 -07:00 |
|
Patrick Walton
|
b3c4c1426a
|
rustboot: Emit an error message instead of asserting on a type-param mismatch in tag constructors in patterns
|
2010-10-27 11:29:19 -07:00 |
|
Patrick Walton
|
3d0da75455
|
rustboot: For error reporting, map tag IDs to *tag* names, not to tag *variant* names
|
2010-10-26 15:37:49 -07:00 |
|