Lindsey Kuper
af418d97c0
Test illustrating issue #2263 .
2012-05-21 13:04:30 -07:00
Niko Matsakis
34b42eeb65
change list so that it must be used in a purely boxed fashion
...
The old way was inconsistent---the head was unboxed but the
tail was boxed. This resulted in numerous needless copies and
also made the borrow check unhappy, because the head tended to be
stored in mutable memory.
2012-05-21 09:37:34 -07:00
Niko Matsakis
8e73bb6ea0
detect and report shadows in nested bindings
2012-05-21 09:37:22 -07:00
Niko Matsakis
1ad5f7d2c1
make list based on boxes
2012-05-21 06:18:12 -07:00
Brian Anderson
239cf80c73
rustc: Remove dead code in encoder
2012-05-19 19:09:10 -07:00
Brian Anderson
c8426d1e78
build: pass RUSTFLAGS to the compiler
...
We can use this for preliminary testing of the GC using `make RUSTFLAGS=--gc`
2012-05-19 18:27:16 -07:00
Niko Matsakis
28d0ce9a8b
fix up handling of &x where x is an arg or &self (for now at least).
2012-05-19 10:33:14 -07:00
Erick Tryzelaar
24cfe29a8a
std: Fix a typo
2012-05-19 10:08:44 -07:00
Erick Tryzelaar
9d01c46c07
core: Add iterable functions to io::reader_utils.
2012-05-19 10:08:44 -07:00
Erick Tryzelaar
e7ca3e4db0
expose tzset
2012-05-19 10:08:43 -07:00
Erick Tryzelaar
047f629b31
Remove some dead code.
2012-05-19 10:08:43 -07:00
Niko Matsakis
83a85d765b
remove unused variable
2012-05-18 20:02:13 -07:00
Niko Matsakis
d1cde18af3
add more inline directives to dvec
2012-05-18 20:00:51 -07:00
Niko Matsakis
7905b79156
port codemap to use dvec
2012-05-18 20:00:51 -07:00
Niko Matsakis
de1513f26a
port interner to use dvec
2012-05-18 20:00:51 -07:00
Niko Matsakis
b8418da1b6
port qquote to use dvec
2012-05-18 20:00:51 -07:00
Niko Matsakis
b4be2c676f
create a smallintmap benchmark
2012-05-18 20:00:51 -07:00
Niko Matsakis
bfde2ba524
port smallintmap over to dvec
...
also: add a non-operator-overloaded method for [] to work around #2378
2012-05-18 20:00:51 -07:00
Niko Matsakis
774ea145ec
make more code use dvec
2012-05-18 20:00:51 -07:00
Niko Matsakis
0f969da882
port some code to use dvec
2012-05-18 20:00:50 -07:00
Niko Matsakis
cf6ad6d62a
move io over to dvec
2012-05-18 20:00:50 -07:00
Niko Matsakis
35f6f37453
avoid modifying the variable we are alting over
2012-05-18 20:00:50 -07:00
Niko Matsakis
c9edc0f0a1
introduce a few copies here and there
2012-05-18 20:00:50 -07:00
Niko Matsakis
f9aef928ca
purge ufind
2012-05-18 20:00:50 -07:00
Niko Matsakis
81caf926b4
test for #2378
2012-05-18 20:00:50 -07:00
Niko Matsakis
44c100c28d
try to improve handling of methods
2012-05-18 20:00:50 -07:00
Niko Matsakis
da204e1d73
add swappable/dvec modules
2012-05-18 20:00:50 -07:00
Niko Matsakis
253979236e
print ids of patterns when doing --pretty identified
2012-05-18 19:07:20 -07:00
Niko Matsakis
b79d717c91
fix borrowing pats---the id field of cmt was assoc with wrong pat
2012-05-18 19:07:20 -07:00
Niko Matsakis
19ec5a41ed
allow region ptrs to be cast to uints
2012-05-18 19:07:19 -07:00
Niko Matsakis
f1a46914c4
add a new debugging aid--tracing
2012-05-18 19:07:19 -07:00
Eric Holk
c568cf6099
Added vec::view, for creating subslices.
2012-05-18 16:55:42 -07:00
Eric Holk
0eed37da29
Using const vector slices for more vec functions.
2012-05-18 16:55:42 -07:00
Brian Anderson
0f20cae37f
std: Don't copy hash key until we must
2012-05-18 16:50:16 -07:00
Brian Anderson
e546c4820b
rustc: Don't copy vecs in seq_preconds. Huge perf win on some tests
...
Compile time for the included test goes from 5min to 18s.
2012-05-18 15:59:00 -07:00
Niko Matsakis
09b9447eb6
remove line so that pretty printer doesn't mess it up
2012-05-18 14:32:38 -07:00
Niko Matsakis
2f284cefa0
xfail-test failing test
2012-05-18 14:32:38 -07:00
Niko Matsakis
67ca37ac61
workaround a horribly obscure resolve bug
2012-05-18 14:32:37 -07:00
Niko Matsakis
a559329692
test that we preserve boxes in patterns---still one bug
2012-05-18 14:32:37 -07:00
Brian Anderson
3f283bb168
rustc: Don't recurse in seq_preconds. Consumes too much stack
2012-05-18 14:28:39 -07:00
Niko Matsakis
afca68b820
test file I had lying around and had forgotten to commit
2012-05-18 10:38:18 -07:00
Niko Matsakis
5be8bf1de7
use -Z to distinguish internal debugging options
2012-05-18 10:38:18 -07:00
Paul Stansifer
0eef34bacb
add #include_bin[]
2012-05-18 10:05:25 -07:00
Paul Stansifer
ac2faad26e
Fold #include_str into the other source_utils.rs syntax extensions.
2012-05-18 10:05:25 -07:00
Paul Stansifer
07e775404f
add #mod[], which expands to the current module path
2012-05-18 10:05:25 -07:00
Paul Stansifer
88f4d06941
New syntax extensions: #line[], #col[], #file[], #stringify[], #include[]
2012-05-18 10:05:24 -07:00
Paul Stansifer
9fe547d3a7
Make extracting syntax extension arguments easier.
2012-05-18 10:05:24 -07:00
Tim Chevalier
cdcce3ed5d
Refactoring, annotating FIXMEs in remainder of metadata code
2012-05-17 22:15:07 -07:00
Tim Chevalier
c97b29afd1
Refactor encoder::encode_module_item_paths
...
to eliminate some repeated code.
2012-05-17 20:39:17 -07:00
Tim Chevalier
cf2fc2c34e
Annotate or fix FIXMEs in LLVM bindings and metadata code
...
Fixed up a few FIXMEs in lib/llvm to use more descriptive data
types. Covered FIXMEs in metadata::{creader, csearch, decoder} and
one in encoder.
2012-05-17 20:39:17 -07:00