Niko Matsakis
|
d4d7eb069b
|
add unsafe tags into various points in the translation chains
and so forth
|
2011-10-12 16:33:06 -07:00 |
|
Niko Matsakis
|
212707ce84
|
make native functions markable as unsafe and incorporate that
into the type check
|
2011-10-12 14:39:34 -07:00 |
|
Niko Matsakis
|
e9569371f7
|
add 'u' to one other place it was missing
|
2011-10-12 14:26:47 -07:00 |
|
Niko Matsakis
|
f304c1bee5
|
add 'u' to decoder (kinda' important)
|
2011-10-12 14:26:47 -07:00 |
|
Niko Matsakis
|
29584cc5ac
|
Extend the unchecked block stuff to allow unsafe blocks as well.
|
2011-10-12 14:26:47 -07:00 |
|
Brian Anderson
|
55379a97d4
|
Use the correct function type for external bare functions
Issue #1022
|
2011-10-11 15:12:49 -07:00 |
|
Brian Anderson
|
cfa2346086
|
Use a non-ambiguous character for encoding bare functions
I was using 'R' and that was already used for records.
Issue #1022
|
2011-10-11 14:38:15 -07:00 |
|
Brian Anderson
|
b277039325
|
Introduce ast::proto_bare
Issue #1022
|
2011-10-11 10:51:10 -07:00 |
|
Marijn Haverbeke
|
33167f7dec
|
Adjust function signatures to allow for vecs being immediate
Some code was relying on vectors being implicitly by-reference (as
non-immediate value). This adds the necessary &&-sigils.
Closes #1021
|
2011-10-10 16:01:51 +02:00 |
|
Marijn Haverbeke
|
f9fbd86f52
|
Parse and typecheck by-value and by-ref arg specs
Add sprinkle && throughout the compiler to make it typecheck again.
Issue #1008
|
2011-10-07 09:09:50 +02:00 |
|
Brian Anderson
|
1391154b14
|
Use util::filesearch to locate intrinsics.bc and main.o
|
2011-10-04 21:35:06 -07:00 |
|
Brian Anderson
|
ebcc76d68d
|
Move the library search into util::filesearch
|
2011-10-04 21:35:06 -07:00 |
|
Brian Anderson
|
b25e78524c
|
Fix some comment drift
|
2011-10-04 21:35:06 -07:00 |
|
Brian Anderson
|
33ee73102d
|
Remove some redundancy in metadata::creader
|
2011-10-04 21:35:06 -07:00 |
|
Brian Anderson
|
d91b7b61ef
|
Encapsulate current sysroot and lib path handling into util::filesearch
|
2011-10-04 21:35:06 -07:00 |
|
Patrick Walton
|
968b66ad40
|
rustc: Implement C stack stdcall
|
2011-10-03 13:59:38 -07:00 |
|
Patrick Walton
|
7ab0897ac6
|
rustc: Track link_args attributes on C stack cdecl natives as well
|
2011-09-30 14:25:10 -07:00 |
|
Patrick Walton
|
f7d0c1cec3
|
rustc: Add a new "C stack cdecl" native ABI
|
2011-09-28 12:58:33 -07:00 |
|
Brian Anderson
|
856acbf66d
|
Vectors containing pinned kinds become pinned
Otherwise they could be copied
|
2011-09-24 12:36:51 -07:00 |
|
Brian Anderson
|
1b3023e4d0
|
Convert ty::ty_uniq to contain a mutable type
Issue #409
|
2011-09-22 10:26:34 -07:00 |
|
Marijn Haverbeke
|
3abe3671bd
|
Require the parameter that will be referenced to be noted
Issue #918
|
2011-09-15 16:15:17 +02:00 |
|
Marijn Haverbeke
|
7298b8f4ba
|
Insert omitted semicolons for statements
|
2011-09-15 09:49:00 +02:00 |
|
Marijn Haverbeke
|
93de2f0b74
|
Add syntax and representation for return-by-mutably-rooted-ref
This will be used in the near future to decide what can safely
be done with the returned reference.
Issue #918
|
2011-09-14 17:30:38 +02:00 |
|
Marijn Haverbeke
|
51dae63c44
|
Make most of the compiler aware of return-by-reference
tyencode/tydecode still don't know about it. return_ref will be extended to take
arguments anyway.
|
2011-09-14 11:31:05 +02:00 |
|
Marijn Haverbeke
|
6eb9738a66
|
Rename ast::controlflow to ast::ret_style
It will include information about returning by alias.
|
2011-09-14 10:38:23 +02:00 |
|
Graydon Hoare
|
a4815b6742
|
Factor imports mindlessly.
|
2011-09-12 16:13:28 -07:00 |
|
Marijn Haverbeke
|
ca1df2b111
|
Pretty-print for new arg-mode syntax
|
2011-09-12 12:49:00 +02:00 |
|
Marijn Haverbeke
|
fc6b7c8b38
|
Reformat for new mode syntax, step 1
Long lines were fixed in a very crude way, as I'll be following up
with another reformat in a bit.
|
2011-09-12 12:04:14 +02:00 |
|
Marijn Haverbeke
|
0e6e56ca60
|
Make the names of the arg mode tag reflect their (revised) meaning
|
2011-09-12 11:07:17 +02:00 |
|
Brian Anderson
|
a1d71995ec
|
Rename istr-stuff to str in rustc. Issue #855
|
2011-09-02 22:11:46 -07:00 |
|
Brian Anderson
|
f1555e2ca8
|
Rename ty_istr to ty_str. Issue #855
|
2011-09-02 22:11:46 -07:00 |
|
Brian Anderson
|
5c49e4f4e9
|
Reformat. Issue #855
|
2011-09-02 22:11:42 -07:00 |
|
Brian Anderson
|
9c173f17c0
|
Remove lots of estr code from rustc. Issue #855
|
2011-09-01 23:25:33 -07:00 |
|
Brian Anderson
|
418d09e547
|
Convert all uses of #ifmt to #fmt. Issue #855
|
2011-09-01 18:54:03 -07:00 |
|
Brian Anderson
|
ab6bb035e5
|
Rename std::istr to std::str. Issue #855
|
2011-09-01 17:27:58 -07:00 |
|
Brian Anderson
|
e824775d53
|
Remove std::str. Issue #855
|
2011-09-01 16:09:15 -07:00 |
|
Brian Anderson
|
498e38b705
|
Convert uses of #fmt to #ifmt. Issue #855
|
2011-08-31 11:44:06 -07:00 |
|
Brian Anderson
|
5f57a508af
|
Convert misc compiler bits to istrs. Issue #855
|
2011-08-27 18:05:59 -07:00 |
|
Brian Anderson
|
9857048929
|
Convert rustc::driver::session to istrs. Issue #855
|
2011-08-27 16:47:50 -07:00 |
|
Brian Anderson
|
cbad23a747
|
Convert pretty-printer to istrs. Issue #855
|
2011-08-27 15:54:46 -07:00 |
|
Brian Anderson
|
d2ae28fc99
|
Convert rustc::util to istrs. Issue #855
|
2011-08-27 15:54:45 -07:00 |
|
Brian Anderson
|
54691f9a6c
|
Convert rustc::metadata to istrs. Issue #855
|
2011-08-27 15:54:45 -07:00 |
|
Brian Anderson
|
f09ef6ec66
|
Convert rest of the AST to istrs. Issue #855
|
2011-08-27 15:54:45 -07:00 |
|
Brian Anderson
|
afe27d461c
|
Convert crate_ctxt to istrs. Issue #855
|
2011-08-27 15:54:45 -07:00 |
|
Brian Anderson
|
d7fa75413f
|
Convert rustc::lib::llvm to istr::sbufs. Issue #855
|
2011-08-27 15:54:44 -07:00 |
|
Brian Anderson
|
6b3f0b21be
|
Convert the rest of rustc::back to istrs. Issue #855
|
2011-08-27 15:54:44 -07:00 |
|
Brian Anderson
|
a58bfced3c
|
Convert back::link to istrs. Issue #855
|
2011-08-27 15:54:44 -07:00 |
|
Brian Anderson
|
03119fe269
|
Convert ast::ident to istr. Issue #855
|
2011-08-27 15:54:44 -07:00 |
|
Brian Anderson
|
652332f9d4
|
Convert std::map::new_str_hash to istrs. Issue #855
|
2011-08-27 15:54:44 -07:00 |
|
Brian Anderson
|
b2408d57f0
|
Convert portions of rustc to istrs. Recover a lot of performance.
Issue #855
|
2011-08-27 15:54:43 -07:00 |
|