Graydon Hoare
|
4b946cea35
|
Modify native_item_fn to handle trailing linkage names that differ from the item name (used in win32 build of std.dll)
|
2011-03-20 20:18:19 -07:00 |
|
Patrick Walton
|
d31bfc8692
|
rustc: Internalize glue. Cuts libstd size by 8% or so.
|
2011-03-20 15:05:13 -07:00 |
|
Patrick Walton
|
277d42f589
|
rustc: Only declare each native function once. std.rc now links.
|
2011-03-19 17:33:46 -07:00 |
|
Patrick Walton
|
a1aad28690
|
rustc: Use the right block context to generate unary operands. std.rc compiles now. For realz.
|
2011-03-19 15:03:21 -07:00 |
|
Patrick Walton
|
8e597b295f
|
rustc: Allow arguments to be captured as upvars. std.rc compiles now, except for the lack of a main fn.
|
2011-03-19 14:26:12 -07:00 |
|
Patrick Walton
|
c710c9a1b8
|
rustc: Do argument casts before loading aggregates, not after
|
2011-03-19 13:58:48 -07:00 |
|
Patrick Walton
|
3f2bae4449
|
rustc: Implement int-to-native casts
|
2011-03-18 18:49:59 -07:00 |
|
Patrick Walton
|
e6b6d1b645
|
rustc: Make trans_path() generic-safe wrt nullary tags
|
2011-03-18 18:45:49 -07:00 |
|
Patrick Walton
|
95dc89f012
|
rustc: Make iter_structural_ty_full() generic-safe wrt tags
|
2011-03-18 18:34:06 -07:00 |
|
Patrick Walton
|
8c48fae726
|
rustc: Do pointer casts when casting native types
|
2011-03-18 18:12:58 -07:00 |
|
Patrick Walton
|
9c0c0af1b2
|
rustc: Fix inference for auto slots (forgot to stage changes before)
|
2011-03-18 17:45:47 -07:00 |
|
Patrick Walton
|
f3b58947c0
|
rustc: Don't always build a constant multiply instruction when translating literal vectors; the size of the referent isn't always constant
|
2011-03-18 16:41:56 -07:00 |
|
Patrick Walton
|
533dea772f
|
rustc: Move type_of() behind the check for dynamic size in trans_vec()
|
2011-03-18 16:34:22 -07:00 |
|
Patrick Walton
|
78bcfe28f2
|
rustc: Create global variable constants during the collection phase
|
2011-03-18 16:24:01 -07:00 |
|
Patrick Walton
|
8ff77b14a9
|
rustc: Make iter_sequence() work with generic vectors
|
2011-03-18 16:04:16 -07:00 |
|
Patrick Walton
|
47d650e25b
|
rustc: Box the tuples returned by hashmap.items() for now since we don't have alias iterators yet
|
2011-03-18 15:18:45 -07:00 |
|
Patrick Walton
|
ebee49314b
|
rustc: Get type params from the item when translating native items
|
2011-03-18 15:01:45 -07:00 |
|
Patrick Walton
|
8b82a549bf
|
rustc: When encountering "mutable" as a tycon, parse it, drop it on the floor, and emit a warning
|
2011-03-18 13:44:54 -07:00 |
|
Patrick Walton
|
e8938f5fb2
|
rustc: Unify over alt expressions
|
2011-03-18 12:49:48 -07:00 |
|
Patrick Walton
|
6f65ce5255
|
rustc: Add a span_unimpl() for debugging
|
2011-03-18 12:30:44 -07:00 |
|
Patrick Walton
|
2ef9c01ffc
|
rustc: Implement "mutable?". Add a test case and XFAIL it in rustboot for now.
|
2011-03-18 11:49:47 -07:00 |
|
Patrick Walton
|
5eca7129e3
|
rustc: Switch mutability from being a type constructor to a field annotation
|
2011-03-17 17:39:47 -07:00 |
|
Patrick Walton
|
ed96688be5
|
rustc: Typo: mutabliity -> mutability
|
2011-03-17 16:39:10 -07:00 |
|
Patrick Walton
|
67bac63aa3
|
rustc: Correctly report mutability when stringifying types
|
2011-03-17 11:54:00 -07:00 |
|
Patrick Walton
|
2ca66718ce
|
rustc: Consider native types to be scalar
|
2011-03-17 11:46:21 -07:00 |
|
Patrick Walton
|
55587a554c
|
rustc: Sort object methods when parsing textual types in the AST
|
2011-03-17 11:40:05 -07:00 |
|
Patrick Walton
|
bc51842d4f
|
rustc: Don't go over inner functions' locals during the writeback phase of typechecking
|
2011-03-17 11:23:17 -07:00 |
|
Rafael Ávila de Espíndola
|
9dc3f3f183
|
Fixed version of my previous patch to rename the upcall functions. This time also update the inline assembly.
|
2011-03-16 18:09:12 -04: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 |
|
Rafael Ávila de Espíndola
|
e65e1716a7
|
Revert 6fdb81fa17b3c7147a69edc5217c9f93ff485410, it is causing failures in
the bots.
|
2011-03-16 11:46:51 -04:00 |
|
Rafael Ávila de Espíndola
|
8dc5059058
|
Update comment to reflect the decision to avoid cycles.
|
2011-03-16 11:29:41 -04:00 |
|
Patrick Walton
|
1d8b0e8f8a
|
rustc: Remove the memory-managed interface to LLVM memory buffers; passing them around transfers ownership
|
2011-03-15 18:08:30 -07:00 |
|
Patrick Walton
|
6fdb81fa17
|
rustc: Open "use"d crates with the LLVM object file reader
|
2011-03-15 18:05:29 -07:00 |
|
Patrick Walton
|
71b6e602c5
|
rustc: Add an annotation for the crate definition to view_item_use
|
2011-03-15 17:33:05 -07:00 |
|
Patrick Walton
|
341d128ad3
|
Revert "Change the numbering of upcall functions. upcall_0 now calls a function" due to tinderbox failure on win32
This reverts commit bd9dd5ed1ab4565141c0c08b4cf2245e451a3eb1.
|
2011-03-15 17:20:00 -07:00 |
|
Patrick Walton
|
7d32f3d052
|
rustc: Add a stub crate reader module for "use" directives
|
2011-03-15 16:30:43 -07:00 |
|
Patrick Walton
|
bb081d6611
|
rustc: Typo: "unput" -> "input"
|
2011-03-15 15:07:41 -07:00 |
|
Patrick Walton
|
736969f9fe
|
rustc: Add support for LLVM memory buffer creation via a wrapper function
|
2011-03-15 14:58:11 -07:00 |
|
Rafael Ávila de Espíndola
|
bd9dd5ed1a
|
Change the numbering of upcall functions. upcall_0 now calls a function
with no arguments. This is still preparation for calling functions that
don't take a rust task argument.
|
2011-03-15 16:24:03 -04:00 |
|
Graydon Hoare
|
73f4728182
|
Append 'svn' to version in dll name, hopefully to bring win32 up again.
|
2011-03-15 12:55:23 -07:00 |
|
Patrick Walton
|
b07634f212
|
rustc: Add Rust bindings to the LLVM object file library
|
2011-03-15 12:27:48 -07:00 |
|
Graydon Hoare
|
316158df8e
|
Bump LLVM version strings to 3.0svn, we're effectively tied to it now anyways.
|
2011-03-14 17:33:06 -07:00 |
|
Graydon Hoare
|
7f5bffc3ea
|
Merge remote branch 'brson/recursive-elseif'
|
2011-03-14 16:59:04 -07:00 |
|
Brian Anderson
|
8b5574ac09
|
Rename check_assignment_like to check_assignment since it turned out not to be useful for send/recv
|
2011-03-14 16:41:46 -07:00 |
|
Brian Anderson
|
b83a4af93c
|
Fix the typechecking for expr_send and expr_recv
|
2011-03-14 16:41:46 -07:00 |
|
Brian Anderson
|
4ce4d8857f
|
Add ty_port and ty_chan to expr_ty function
|
2011-03-14 16:41:46 -07:00 |
|
Brian Anderson
|
83f758cf0d
|
Typecheck expr_send and expr_recv
|
2011-03-14 16:41:46 -07:00 |
|
Brian Anderson
|
a309f74a94
|
Reorganize evaluation of expr_send/recv to put them closer to expr_assign, to which they are similar
|
2011-03-14 16:41:46 -07:00 |
|
Brian Anderson
|
f0842030f3
|
Fix typo in expr_recv parsing
|
2011-03-14 16:41:46 -07:00 |
|
Brian Anderson
|
644d8b95da
|
Factor out expression checking for forms that look like assignment
|
2011-03-14 16:41:46 -07:00 |
|