Commit Graph

3463 Commits

Author SHA1 Message Date
Lindsey Kuper
99dbb1d51f Fix comment that's been wrong since ancient times (thanks, @jvns). 2014-01-01 23:02:02 -05:00
bors
1b14a9393a auto merge of #11242 : Dretch/rust/hashmap-key-value-iterators, r=pcwalton 2014-01-01 17:11:57 -08:00
a_m0d
8965e34789 Add linting for crate_type attribute values.
This ensures that the `crate_type` attribute always contains a value,
and does not contain an invalid value.
2014-01-01 19:55:59 -05:00
Florian Hahn
f42a36cded Remove extern mod foo (name="bar") syntax, closes #9543 2014-01-01 23:36:57 +01:00
Alex Crichton
dd33b145f3 Fix usage of rustc --ls on invalid files
Closes #11259
2014-01-01 13:20:00 -08:00
bors
c34ef5d7e4 auto merge of #11255 : klutzy/rust/small-cleanup, r=pcwalton
This patchset removes some `@`s and unnecessary traits,
and replaces a function (`dummy_sp()`) returning constant value
by static variable.
2014-01-01 11:06:51 -08:00
bors
51ace54597 auto merge of #11254 : huonw/rust/impl-names, r=brson
The resulting symbol names aren't very pretty at all:

    trait Trait { fn method(&self); }
    impl<'a> Trait for ~[(&'a int, fn())] { fn method(&self) {} }

gives

    Trait$$UP$$VEC$$TUP_2$$BP$int$$FN$$::method::...hash...::v0.0

However, at least it contain some reference to the Self type, unlike
`Trait$__extensions__::method:...`, which is what the symbol name used
to be for anything other than `impl Trait for foo::bar::Baz` (which
became, and still becomes, `Trait$Baz::method`).
2014-01-01 07:56:49 -08:00
Huon Wilson
8f26d0b9b8 syntax: expand impl_pretty_name to handle more cases.
The resulting symbol names aren't very pretty at all:

    trait Trait { fn method(&self); }
    impl<'a> Trait for ~[(&'a int, fn())] { fn method(&self) {} }

gives

    Trait$$UP$$VEC$$TUP_2$$BP$int$$FN$$::method::...hash...::v0.0

However, at least it contain some reference to the Self type, unlike
`Trait$__extensions__::method:...`, which is what the symbol name used
to be for anything other than `impl Trait for foo::bar::Baz` (which
became, and still becomes, `Trait$Baz::method`).
2014-01-02 02:53:54 +11:00
bors
736f5a8ea8 auto merge of #11247 : eddyb/rust/symbol-cleanup, r=alexcrichton 2014-01-01 02:51:53 -08:00
klutzy
9cdad685a3 syntax::codemap: Add static DUMMY_SP
It replaces `dummy_sp()`.
2014-01-01 19:51:35 +09:00
klutzy
db204b20ab syntax::diagnostic: Remove @ from Emitter 2014-01-01 19:10:43 +09:00
klutzy
fe10c63326 syntax::diagnostic: Remove unnecessary traits
This removes trait `handler` and `span_handler`,
and renames `HandlerT` to `Handler`, `CodemapT` to `SpanHandler`.
2014-01-01 19:10:43 +09:00
klutzy
a52cdfdfce rustc::driver: Remove two @s 2014-01-01 19:10:43 +09:00
bors
03b510297c auto merge of #11215 : alexcrichton/rust/metadata-filename, r=pcwalton
Right now if you have concurrent builds of two libraries in the same directory
(such as rustc's bootstrapping process), it's possible that two libraries will
stomp over each others' metadata, producing corrupt rlibs.

By placing the metadata file in a tempdir we're guranteed to not conflict with
ay other builds happening concurrently. Normally this isn't a problem because
output filenames are scoped to the name of the crate, but metadata is special in
that it has the same name across all crates.
2013-12-31 22:26:55 -08:00
bors
e61937a6bf auto merge of #11187 : alexcrichton/rust/once, r=brson
Rationale can be found in the first commit, but this is basically the same thing as `pthread_once`
2013-12-31 20:41:56 -08:00
Alex Crichton
c22fed9424 Convert relevant static mutexes to Once 2013-12-31 20:15:03 -08:00
Eduard Burtescu
4e752651f4 Truncate symbol hashes to 64 bits. 2014-01-01 01:42:24 +02:00
bors
1dcc986d52 auto merge of #11173 : whitequark/rust/master, r=thestinger
This PR adds `std::unsafe::intrinsics::{volatile_load,volatile_store}`, which map to LLVM's `load volatile` and `store volatile` operations correspondingly.

This would fix #11172.

I have addressed several uncertainties with this PR in the line comments.
2013-12-31 15:06:55 -08:00
bors
bd52e6acc6 auto merge of #11157 : alexcrichton/rust/issue-11154, r=pcwalton
Closes #11154
2013-12-31 13:52:03 -08:00
Kiet Tran
576a85105f Mark provided methods in dead-code pass 2013-12-31 16:19:57 -05:00
Alex Crichton
0daaeab244 Conservatively export all trait methods and impls
The comments have more information as to why this is done, but the basic idea is
that finding an exported trait is actually a fairly difficult problem. The true
answer lies in whether a trait is ever referenced from another exported method,
and right now this kind of analysis doesn't exist, so the conservative answer of
"yes" is always returned to answer whether a trait is exported.

Closes #11224
Closes #11225
2013-12-31 12:42:13 -08:00
Gareth Smith
d435f4f059 Fix issue #11216 - Replace std::hashmap::{each_key, each_value} with iterators. 2013-12-31 20:29:39 +00:00
SiegeLord
cbe8c61fed Add a --no-analysis command line switch 2013-12-31 15:28:08 -05:00
SiegeLord
a7a9e488a4 Generate --dep-info earlier in the compillation. 2013-12-31 15:28:02 -05:00
Alex Crichton
870024a160 Disallow LTO with a preference to dynamic linking
Closes #11154
2013-12-31 11:48:47 -08:00
Peter Zotov
f98f83a15d Implement volatile_load and volatile_store intrinsics. 2013-12-31 02:54:25 +04:00
Vadim Chugunov
856222987d Revert "Embed Windows application manifest." 2013-12-30 13:22:54 -08:00
Alex Crichton
fe30087080 Add metadata from a tempdir instead of a build dir
Right now if you have concurrent builds of two libraries in the same directory
(such as rustc's bootstrapping process), it's possible that two libraries will
stomp over each others' metadata, producing corrupt rlibs.

By placing the metadata file in a tempdir we're guranteed to not conflict with
ay other builds happening concurrently. Normally this isn't a problem because
output filenames are scoped to the name of the crate, but metadata is special in
that it has the same name across all crates.
2013-12-30 08:21:41 -08:00
bors
f37b746699 auto merge of #11182 : luisbg/rust/crateid, r=cmr
Issue #11048
2013-12-30 04:32:09 -08:00
Steven Fackler
dc830345e8 Remove @muts from ExtCtxt 2013-12-29 23:41:09 -08:00
Steven Fackler
3965dddf49 Make ast_fold take &mut self 2013-12-29 23:41:05 -08:00
Luis de Bethencourt
f872c47278 Rename PkgId to CrateId 2013-12-29 15:25:32 -05:00
Luis de Bethencourt
4bc09713df Rename pkgid variables 2013-12-29 15:25:26 -05:00
Steven Fackler
0607c138ca Stop using @ExtCtxt 2013-12-28 21:16:03 -07:00
bors
2922697087 auto merge of #11175 : klutzy/rust/ice, r=alexcrichton
`ln_str` caused ICE if `RUST_LOG=rustc::middle::liveness` is given
due to borrow failure.
2013-12-28 14:12:01 -08:00
klutzy
eaae0ac68a rustc: Fix a borrow failure in .ln_str()
`ln_str` caused ICE if `RUST_LOG=rustc::middle::liveness` is given
due to borrow failure.
2013-12-29 02:47:12 +09:00
Alex Crichton
b6a7463526 Initialize LLVM only once
This also appears to fix a race in LLVM that was causing a deadlock on the bots
during the doc-test tests (where we use rustc in parallel).
2013-12-27 23:39:33 -08:00
Luqman Aden
1265a03139 librustc: Implement coercion for traits. 2013-12-27 03:26:46 -05:00
Patrick Walton
ad160146fd librustc: Fix tidy problem. 2013-12-26 15:54:37 -08:00
Patrick Walton
cc0584731a librustc: De-@mut the def map.
This is the last `@mut` in `librustc` that does not depend on libsyntax.
2013-12-26 15:54:37 -08:00
Patrick Walton
56b9a207ab librustc: De-@mut the value and type ribs in the resolver 2013-12-26 15:54:37 -08:00
Patrick Walton
c48335e334 librustc: De-@mut Module::imports in the resolver 2013-12-26 15:54:37 -08:00
Patrick Walton
47846110a4 librustc: Fully de-@mut trait_impls in the type context 2013-12-26 15:54:37 -08:00
Patrick Walton
fecef74d57 librustc: De-@mut the inherent implementations list 2013-12-26 15:54:37 -08:00
Patrick Walton
ed819c9a81 librustc: De-@mut the crate cache in the crate reader 2013-12-26 15:54:37 -08:00
Patrick Walton
1f76a9ba5e librustc: De-@mut populated_external_traits in the type context 2013-12-26 15:54:37 -08:00
Patrick Walton
f62faa89ed librustc: De-@mut outputs in the session 2013-12-26 15:54:37 -08:00
Patrick Walton
e4815b6c3f librustc: De-@mut the users list in liveness 2013-12-26 15:54:37 -08:00
Patrick Walton
ff23e1202f librustc: De-@mut BindingRscope::anon_bindings 2013-12-26 15:54:36 -08:00
Patrick Walton
d7b152701e librustc: De-@mut building_library in the session 2013-12-26 15:54:36 -08:00
Patrick Walton
c56bac7f40 librustc: De-@mut node_id in the session 2013-12-26 15:54:36 -08:00
Patrick Walton
eaf69494a5 librustc: De-@mut the loop scope in liveness 2013-12-26 15:54:36 -08:00
Patrick Walton
298d0b870f librustc: De-@mut label_ribs in the resolver 2013-12-26 15:54:36 -08:00
Patrick Walton
7f816b7ef4 librustc: De-@mut the idstack in constant checking 2013-12-26 15:54:36 -08:00
Patrick Walton
8c703643ad librustc: De-@mut the reachability worklist 2013-12-26 15:54:36 -08:00
Patrick Walton
4b4ff2cf8b librustc: De-@mut DynamicFailureHandler::finished 2013-12-26 15:54:36 -08:00
Patrick Walton
fc0b466fd4 librustc: De-@mut all_loans in the borrow checker 2013-12-26 15:54:36 -08:00
Patrick Walton
0afae85bc2 librustc: De-@mut inherent_candidates and extension_candidates in
method lookup
2013-12-26 15:54:36 -08:00
Patrick Walton
1a6c1e5d32 librustc: De-@mut Liveness::successors 2013-12-26 15:54:36 -08:00
Patrick Walton
89dfd00dcf librustc: De-@mut next_id in the type context 2013-12-26 15:54:36 -08:00
Patrick Walton
a483ee8e33 librustc: De-@mut the trait map 2013-12-26 15:54:36 -08:00
Patrick Walton
d3fc7b9918 librustc: De-@mut the translation stats 2013-12-26 15:54:36 -08:00
Patrick Walton
9f6706975b librustc: De-@mut fn_stats in the stats 2013-12-26 15:54:36 -08:00
Patrick Walton
e84f79feb1 librustc: De-@mut llvm_insns in the stats 2013-12-26 15:54:35 -08:00
Patrick Walton
8c3a552ac5 librustc: Remove the unused llvm_insn_ctxt from the stats 2013-12-26 15:54:35 -08:00
Patrick Walton
97ceac7377 librustc: De-@mut n_llvm_insns in the stats 2013-12-26 15:54:35 -08:00
Patrick Walton
21e4e410a9 librustc: De-@mut n_closures in the stats 2013-12-26 15:54:35 -08:00
Patrick Walton
c010d08cd5 librustc: De-@mut n_inlines in the stats 2013-12-26 15:54:35 -08:00
Patrick Walton
8c7804ffac librustc: De-@mut n_monos in the stats 2013-12-26 15:54:35 -08:00
Patrick Walton
38572f4981 librustc: De-@mut n_fns in the stats 2013-12-26 15:54:35 -08:00
Patrick Walton
16828bb1dc librustc: De-@mut n_real_glues 2013-12-26 15:54:35 -08:00
Patrick Walton
75efa0725d librustc: De-@mut n_null_glues in the stats 2013-12-26 15:54:35 -08:00
Patrick Walton
26d1394767 librustc: De-@mut n_glues_created in the stats 2013-12-26 15:54:35 -08:00
Patrick Walton
091bfa9cc3 librustc: De-@mut n_static_tydescs in the stats 2013-12-26 15:54:35 -08:00
Patrick Walton
6659ae7d97 librustc: De-@mut Rib::self_binding 2013-12-26 15:54:35 -08:00
Patrick Walton
d1e23aeb0e librustc: De-@mut MoveData 2013-12-26 15:54:35 -08:00
Patrick Walton
1b06a9593f librustc: De-@mut MoveData::assignee_ids 2013-12-26 15:54:35 -08:00
Patrick Walton
111e167f48 librustc: De-@mut MoveData::var_assignments 2013-12-26 15:54:35 -08:00
Patrick Walton
460305749c librustc: De-@mut MoveData::path_assignments 2013-12-26 15:54:34 -08:00
Patrick Walton
7d3e25394f librustc: De-@mut MoveData::path_map 2013-12-26 15:54:34 -08:00
Patrick Walton
1b8391ca12 librustc: De-@mut MoveData::moves 2013-12-26 15:54:34 -08:00
Patrick Walton
1ded423505 librustc: Replace the move method with an accessor in the borrow check
move data
2013-12-26 15:54:34 -08:00
Patrick Walton
12c5c19871 librustc: De-@mut MoveData::paths 2013-12-26 15:54:34 -08:00
Patrick Walton
026364ca26 librustc: Change mut_path into mutators for specific fields in the
borrow check move data
2013-12-26 15:54:34 -08:00
Patrick Walton
fcb47813a4 librustc: Extract first_child and next_sibling from the borrow check
move data into accessors
2013-12-26 15:54:34 -08:00
Patrick Walton
f700cf3872 librustc: Extract first_move from the move data into an accessor 2013-12-26 15:54:34 -08:00
Patrick Walton
f19a9b9600 librustc: Extract parent from move data as an accessor 2013-12-26 15:54:34 -08:00
Patrick Walton
211c6d522b librustc: Extract loan_path from move data into an accessor 2013-12-26 15:54:34 -08:00
Patrick Walton
2ba1b0bc06 librustc: De-@mut populated_external_types in the type context 2013-12-26 15:54:34 -08:00
Patrick Walton
620be9235d librustc: De-@mut the cnum_map 2013-12-26 15:54:34 -08:00
Patrick Walton
5a9c37b7f5 librustc: De-@mut the borrow check stat fields 2013-12-26 15:54:34 -08:00
Patrick Walton
df0c13d2ea librustc: De-@mut the encoding stats 2013-12-26 15:54:34 -08:00
Patrick Walton
75c95e0960 librustc: De-@mut the region maps 2013-12-26 15:54:34 -08:00
Patrick Walton
f759fe15a1 librustc: De-@mut cleanup_scopes in the region maps 2013-12-26 15:54:34 -08:00
Patrick Walton
0c3950d8a8 librustc: De-@mut the free region map in the region maps 2013-12-26 15:54:33 -08:00
Patrick Walton
d5e32729c9 librustc: De-@mut the scope map in the region maps 2013-12-26 15:54:33 -08:00
Patrick Walton
2551344928 librustc: De-@mut all remaining uses of MemWriter 2013-12-26 15:54:33 -08:00
Patrick Walton
b9f0d9bdc1 librustc: De-@mut ImportResolution 2013-12-26 15:54:33 -08:00
Patrick Walton
4b53a2cdd8 librustc: De-@mut ImportResolution::type_id 2013-12-26 15:54:33 -08:00
Patrick Walton
9253df1844 librustc: De-@mut ImportResolution::type_target 2013-12-26 15:54:33 -08:00
Patrick Walton
c10d7177db librustc: De-@mut ImportResolution::value_id 2013-12-26 15:54:33 -08:00
Patrick Walton
5fe84118a6 librustc: De-@mut ImportResolution::value_target 2013-12-26 15:54:33 -08:00
Patrick Walton
aa5b422267 librustc: De-@mut ImportResolution::is_public 2013-12-26 15:54:33 -08:00
Patrick Walton
de6eb2b290 librustc: De-@mut ImportResolution::outstanding_references 2013-12-26 15:54:33 -08:00
Patrick Walton
ccb18f47e2 librustc: De-@mut the used_mut_nodes table in the type context 2013-12-26 15:54:33 -08:00
Patrick Walton
5c63b1febc librustc: De-@mut the entry function and entry type in the session 2013-12-26 15:54:33 -08:00
Patrick Walton
522743c9db librustc: De-@mut the moved variables set 2013-12-26 15:54:33 -08:00
Patrick Walton
7cb234bee9 librustc: De-@mut the test context 2013-12-26 15:54:33 -08:00
Patrick Walton
d0dfc35fc9 librustc: De-@mut TestCtxt::testfns 2013-12-26 15:54:33 -08:00
Patrick Walton
9ff65b503f librustc: De-@mut TestCtxt::path 2013-12-26 15:54:32 -08:00
Patrick Walton
a5d9762972 librustc: De-@mut impl_dups in method checking 2013-12-26 15:54:32 -08:00
Patrick Walton
d9c87c7a23 librustc: De-@mut the moves map 2013-12-26 15:54:32 -08:00
Patrick Walton
f7393d8658 librustc: De-@mut the method map 2013-12-26 15:54:32 -08:00
Patrick Walton
b9568cdf36 librustc: De-@mut creader::Env 2013-12-26 15:54:32 -08:00
Patrick Walton
07279011b8 librustc: De-@mut the type descriptor info 2013-12-26 15:54:32 -08:00
Patrick Walton
e9b9c828b1 librustc: De-@mut the various glues in the type descriptor info 2013-12-26 15:54:32 -08:00
Patrick Walton
abbee6decd librustc: De-@mut ScopeInfo 2013-12-26 15:54:32 -08:00
Patrick Walton
8728b09e78 librustc: De-@mut ScopeInfo::landing_pad 2013-12-26 15:54:32 -08:00
Patrick Walton
7acaa73377 librustc: De-@mut ScopeInfo::cleanup_paths 2013-12-26 15:54:32 -08:00
Patrick Walton
89a85e45c5 librustc: De-@mut ScopeInfo::cleanups 2013-12-26 15:54:32 -08:00
Patrick Walton
3b1a7b5ca9 librustc: Remove the unused reported table from the loan checking pass 2013-12-26 15:54:32 -08:00
Patrick Walton
19ca9e1884 librustc: De-@mut Module::children 2013-12-26 15:54:32 -08:00
Patrick Walton
f857398bc9 librustc: De-@mut the bindings list in pattern resolution 2013-12-26 15:54:32 -08:00
Patrick Walton
473d048095 librustc: De-@mut several instances of io::Writer.
There are a few more related to pretty printing.
2013-12-26 15:54:31 -08:00
Patrick Walton
992696fd27 librustc: De-@mut Module::import_resolutions 2013-12-26 15:54:31 -08:00
Patrick Walton
8ee8d2b4b9 librustc: De-@mut arrays of entry used in the encoder 2013-12-26 15:54:31 -08:00
Patrick Walton
02d31b7d1a librustc: De-@mut the additional library search paths 2013-12-26 15:54:31 -08:00
Patrick Walton
abe2ad0ff8 librustc: De-@mut Module::anonymous_children 2013-12-26 15:54:31 -08:00
Patrick Walton
9988970e81 librustc: De-@mut NameBindings 2013-12-26 15:54:31 -08:00
Patrick Walton
35c8fecb32 librustc: De-@mut NameBindings::value_def 2013-12-26 15:54:31 -08:00
Patrick Walton
c45c9a5e2f librustc: De-@mut NameBindings::type_def 2013-12-26 15:54:31 -08:00
Patrick Walton
bc1ea7887c librustc: De-@mut the write guard map 2013-12-26 15:54:31 -08:00
Patrick Walton
b5b403abcc librustc: De-@mut Module::external_module_children 2013-12-26 15:54:31 -08:00
Patrick Walton
ea63a18500 librustc: De-@mut Rib::bindings 2013-12-26 15:54:31 -08:00
Patrick Walton
be67aceaeb librustc: De-@mut IrMaps 2013-12-26 15:54:31 -08:00
Patrick Walton
810177c787 librustc: De-@mut IrMaps::lnks 2013-12-26 15:54:31 -08:00
Patrick Walton
bef2353e1b librustc: De-@mut IrMaps::var_kinds 2013-12-26 15:54:31 -08:00
Patrick Walton
bd08889d68 librustc: De-@mut IrMaps::capture_info_map 2013-12-26 15:54:31 -08:00
Patrick Walton
30b8f8b913 librustc: De-@mut IrMaps::variable_map 2013-12-26 15:54:30 -08:00
Patrick Walton
e5c399a83c librustc: De-@mut IrMaps::live_node_map 2013-12-26 15:54:30 -08:00
Patrick Walton
01ee2fb224 librustc: De-@mut IrMaps::num_vars 2013-12-26 15:54:30 -08:00
Patrick Walton
4e9b8a742d librustc: De-@mut IrMaps::num_live_nodes 2013-12-26 15:54:30 -08:00
Patrick Walton
f73dee17fc librustc: De-@mut the export map 2013-12-26 15:54:30 -08:00
Patrick Walton
c5f07cfc1a librustc: De-@mut Inherited::locals 2013-12-26 15:54:30 -08:00
Patrick Walton
8ae01fc0ae librustc: De-@mut the translation FunctionContext 2013-12-26 15:54:30 -08:00
Patrick Walton
558099b509 librustc: De-@mut the FunctionDebugContext 2013-12-26 15:54:30 -08:00
Patrick Walton
13e1bf1881 librustc: De-@mut FunctionDebugContextData::source_locations_enabled 2013-12-26 15:54:30 -08:00
Patrick Walton
a74138ed22 librustc: De-@mut FunctionDebugContextData::argument_counter 2013-12-26 15:54:30 -08:00
Patrick Walton
b80a111e19 librustc: De-@mut FunctionDebugContextData::scope_map 2013-12-26 15:54:30 -08:00
Patrick Walton
7437a56f3b librustc: De-@mut FunctionContext::entry_bcx 2013-12-26 15:54:30 -08:00
Patrick Walton
05e57db348 librustc: De-@mut FunctionContext::personality 2013-12-26 15:54:30 -08:00
Patrick Walton
cd5168b7cd librustc: De-@mut FunctionContext::llself 2013-12-26 15:54:30 -08:00
Patrick Walton
bd6a2236e1 librustc: De-@mut FunctionContext::llreturn 2013-12-26 15:54:29 -08:00
Patrick Walton
a07cee26a4 librustc: De-@mut FunctionContext::alloca_insert_pt 2013-12-26 15:54:29 -08:00
Patrick Walton
5b0401f0e8 librustc: De-@mut FunctionContext::llretptr 2013-12-26 15:54:29 -08:00
Patrick Walton
d7392bd3ae librustc: De-@mut FunctionContext::llenv 2013-12-26 15:54:29 -08:00
Patrick Walton
c909c34b5d librustc: De-@mut the freevar_map 2013-12-26 15:54:29 -08:00
Patrick Walton
eb9eade1df librustc: De-@mut the CollectFreevarsVisitor 2013-12-26 15:54:29 -08:00
Patrick Walton
2fa456d4f4 librustc: De-@mut the borrow check's loan_map 2013-12-26 15:54:29 -08:00
Patrick Walton
2ae76e120a librustc: De-@mut the type_abbrevs table 2013-12-26 15:54:29 -08:00
Patrick Walton
fbb70d916f librustc: De-@mut the reachable map 2013-12-26 15:54:29 -08:00
Patrick Walton
417378554c librustc: De-@mut lints in the session 2013-12-26 15:54:29 -08:00
Patrick Walton
43aee50798 librustc: De-@mut cstore::CStore 2013-12-26 15:54:29 -08:00
Patrick Walton
79d97ca4aa librustc: De-@mut CStore::used_link_args 2013-12-26 15:54:29 -08:00
Patrick Walton
af1184030b librustc: De-@mut CStore::used_libraries 2013-12-26 15:54:29 -08:00
Patrick Walton
3528f74335 librustc: De-@mut CStore::used_crate_sources 2013-12-26 15:54:29 -08:00
Patrick Walton
978b6bf5a1 librustc: De-@mut CStore::extern_mod_crate_map 2013-12-26 15:54:29 -08:00
Patrick Walton
df373e6fbe librustc: De-@mut CStore::metas 2013-12-26 15:54:28 -08:00
Patrick Walton
ef32b129fa librustc: Remove the unused stmt_map from the borrow checker 2013-12-26 15:54:28 -08:00
Patrick Walton
2de1e3649a librustc: De-@mut the named region map in the type context 2013-12-26 15:54:28 -08:00
Patrick Walton
01e31683d8 librustc: De-@mut used_unsafe in the type context 2013-12-26 15:54:28 -08:00
Patrick Walton
7b71ca3ef7 librustc: De-@mut break_ln and cont_ln in liveness 2013-12-26 15:54:28 -08:00
Patrick Walton
2fb33285e6 libextra: Stop using @mut MemWriter in the EBML module 2013-12-26 15:54:28 -08:00
Patrick Walton
82f5a380a4 librustc: De-@mut llargs and lllocals in the function context 2013-12-26 15:54:28 -08:00
Patrick Walton
a5f4a40f24 librustc: De-@mut the inference context 2013-12-26 13:01:30 -08:00
Patrick Walton
ff2d16e119 librustc: De-@mut RegionVarBindings 2013-12-26 13:01:30 -08:00
Patrick Walton
a39ab7445c librustc: De-@mut RegionVarBindings::var_origins 2013-12-26 13:01:29 -08:00
Patrick Walton
1095e63534 librustc: De-@mut RegionVarBindings::values 2013-12-26 13:01:29 -08:00
Patrick Walton
38d5072018 librustc: De-@mut the undo log in RegionVarBindings 2013-12-26 13:01:29 -08:00
Patrick Walton
b84f294c46 librustc: De-@mut glbs and lubs in RegionVarBindings 2013-12-26 13:01:29 -08:00
Patrick Walton
bdfd0b5ae0 librustc: De-@mut RegionVarBindings::bound_count 2013-12-26 13:01:29 -08:00
Patrick Walton
0a0ce8d227 librustc: De-@mut RegionVarBindings::skolemization_count 2013-12-26 13:01:29 -08:00
Patrick Walton
9f4cfe2e78 librustc: De-@mut RegionVarBindings::constraints 2013-12-26 13:01:29 -08:00
Patrick Walton
3840d50516 librustc: De-@mut the variable bindings in the inference context 2013-12-26 13:01:29 -08:00
Patrick Walton
984b567f9e librustc: De-@mut the variable counters in the inference context 2013-12-26 13:01:29 -08:00
Patrick Walton
7ffba5c3e1 librustc: De-@mut llupvars in the translation crate context 2013-12-26 13:01:29 -08:00
Patrick Walton
de3d581198 librustc: De-@mut the typechecking crate context 2013-12-26 13:01:29 -08:00
Patrick Walton
4fe1cb1aff librustc: De-@mut the vtable map 2013-12-26 13:01:28 -08:00
Patrick Walton
dd745b388d librustc: De-@mut the capture map 2013-12-26 13:01:28 -08:00
Patrick Walton
72f9cbe8ac librustc: De-@mut the borrow check's root map 2013-12-26 13:01:28 -08:00
Patrick Walton
c4661fd258 librustc: De-@mut node_types in the type context 2013-12-26 13:01:28 -08:00
Patrick Walton
727fa3aa01 librustc: De-@mut impl_vtables in the type context 2013-12-26 13:01:28 -08:00
Patrick Walton
ea5368ce6e librustc: De-@mut ty::ctxt_::rcache 2013-12-26 13:01:28 -08:00
Patrick Walton
2c3f92699e librustc: De-@mut the type cache in the type context 2013-12-26 13:01:28 -08:00
Patrick Walton
b976226d52 librustc: De-@mut extern_const_variants in the type context 2013-12-26 13:01:28 -08:00
Patrick Walton
a5db84ce12 librustc: De-@mut the extern_const_statics table in the type context 2013-12-26 13:01:28 -08:00
Patrick Walton
55a7b2fedd librustc: De-@mut the impls table in the type context 2013-12-26 13:01:28 -08:00
Patrick Walton
42f7f7f437 librustc: De-@mut inherent_impls in the type context 2013-12-26 13:01:28 -08:00
Patrick Walton
c554d23a9a librustc: De-@mut trait_impls in the type context 2013-12-26 13:01:27 -08:00
Patrick Walton
a66fcca9c9 librustc: De-@mut destructors in the type context 2013-12-26 13:01:27 -08:00
Patrick Walton
daf31d2b4f librustc: De-@mut resolve::Module 2013-12-26 13:01:27 -08:00
Patrick Walton
ec02f9457c librustc: De-@mut resolve::Module::resolved_import_count 2013-12-26 13:01:27 -08:00
Patrick Walton
01d8380b19 librustc: De-@mut resolve::Module::glob_count 2013-12-26 13:01:27 -08:00
Patrick Walton
6db9a8c55c librustc: De-@mut resolve::Module::def_id 2013-12-26 13:01:27 -08:00
Patrick Walton
d503fff28e librustc: De-@mut resolve::Module::populated 2013-12-26 13:01:27 -08:00
Patrick Walton
a1ee3810b8 librustc: De-@mut resolve::Module::kind 2013-12-26 13:01:27 -08:00
Patrick Walton
752283889c librustc: De-@mut destructor_for_type in the type context 2013-12-26 13:01:27 -08:00
Patrick Walton
4dc923fbda librustc: De-@mut the normalized_cache in the type context 2013-12-26 13:01:27 -08:00
Patrick Walton
5b98c66593 librustc: De-@mut the item variance map in the type context 2013-12-26 13:01:27 -08:00
Patrick Walton
7f5e57a5a9 librustc: De-@mut supertraits in the type context 2013-12-26 13:01:26 -08:00
Patrick Walton
84e450347b librustc: De-@mut provided_method_sources in the type context 2013-12-26 13:01:26 -08:00
Patrick Walton
7cf6abc84a librustc: De-@mut the adjustments table in the type context 2013-12-26 13:01:26 -08:00
Patrick Walton
3e9bcea018 librustc: Remove ty_param_defs from the type context 2013-12-26 13:01:26 -08:00
Patrick Walton
d803a0f733 librustc: De-@mut the enum_var_cache 2013-12-26 13:01:26 -08:00
Patrick Walton
ab0d7b2312 librustc: De-@mut the ast_ty_to_ty_cache. 2013-12-26 13:01:26 -08:00
Patrick Walton
b941677ea3 librustc: De-@mut the crate context 2013-12-26 13:01:26 -08:00
Patrick Walton
2418cc0212 librustc: De-@mut the crate context's do_not_commit_warning_issued 2013-12-26 13:01:26 -08:00
Patrick Walton
61768de5e9 librustc: De-&mut TypeNames 2013-12-26 13:01:26 -08:00
Patrick Walton
d2bcd1462f librustc: Remove unused TypeNames::type_names table 2013-12-26 13:01:26 -08:00
Patrick Walton
ddf3c6de74 librustc: Remove unused TypeNames::find_name function 2013-12-26 13:01:26 -08:00
Patrick Walton
303a39477b librustc: De-@mut CrateContext::symbol_hasher. 2013-12-26 13:01:25 -08:00
Patrick Walton
d40974a5fe librustc: De-mut CrateDebugContext 2013-12-26 13:01:25 -08:00
Patrick Walton
e66bcf44b9 librustc: De-@mut CrateDebugContext::current_debug_location 2013-12-26 13:01:25 -08:00
Patrick Walton
f38561dfd6 librustc: De-@mut CrateDebugContext::composite_types_completed 2013-12-26 13:01:25 -08:00
Patrick Walton
3ed45bb595 librustc: De-@mut CrateDebugContext::namespace_map. 2013-12-26 13:01:25 -08:00
Patrick Walton
38be67a1b9 librustc: De-@mut CrateDebugContext::created_types. 2013-12-26 13:01:25 -08:00
Patrick Walton
6ac286b518 librustc: De-@mut CrateDebugContext::created_files 2013-12-26 13:01:25 -08:00
Patrick Walton
fc92f92572 librustc: De-@mut CrateContext::finished_tydescs. 2013-12-26 13:01:25 -08:00
Patrick Walton
462a791c34 librustc: De-@mut the external and external_srcs fields of
`CrateContext`
2013-12-26 13:01:25 -08:00
Patrick Walton
1e654f5ff7 librustc: De-@mut CrateContext::externs 2013-12-26 13:01:25 -08:00
Patrick Walton
519db34722 librustc: De-@mut CrateContext::tydescs 2013-12-26 13:01:24 -08:00
Patrick Walton
b5aa6eb69f librustc: De-@mut CrateContext::non_inlineable_statics 2013-12-26 13:01:24 -08:00
Patrick Walton
02bdda2776 librustc: De-@mut CrateContext::all_llvm_symbols 2013-12-26 13:01:24 -08:00
Patrick Walton
b895ba52bc librustc: Remove unused CrateContext::type_short_names 2013-12-26 13:01:24 -08:00
Patrick Walton
25337a7f9f librustc: De-@mut CrateContext::type_hashcodes 2013-12-26 13:01:24 -08:00
Patrick Walton
a1747a6091 librustc: De-@mut CrateContext::adt_reprs 2013-12-26 13:01:24 -08:00
Patrick Walton
db83a957b6 librustc: De-@mut CrateContext::llsizingtypes 2013-12-26 13:01:24 -08:00
Patrick Walton
06805209e4 librustc: De-@mut lltypes. 2013-12-26 13:01:24 -08:00
Patrick Walton
8c194a0136 librustc: De-@mut CrateContext::module_data 2013-12-26 13:01:24 -08:00
Patrick Walton
1185fcc437 librustc: De-@mut the impl_method_cache 2013-12-26 13:01:24 -08:00
Patrick Walton
37e3f2fe63 librustc: De-@mut CrateContext::extern_const_values 2013-12-26 13:01:24 -08:00
Patrick Walton
d16cca1f50 librustc: De-@mut const_values. 2013-12-26 13:01:23 -08:00
Patrick Walton
28943e96cb librustc: De-@mut RefCell::const_globals. 2013-12-26 13:01:23 -08:00
Patrick Walton
0e2041c54b librustc: De-@mut CrateContext::const_cstr_cache. 2013-12-26 13:01:23 -08:00
Patrick Walton
13f85cb097 librustc: De-@mut CrateContext::vtables. 2013-12-26 13:01:23 -08:00
Patrick Walton
5dcc5165a6 librustc: Remove unused discrim_symbols field from the crate context 2013-12-26 13:01:23 -08:00
Patrick Walton
0f3e4fea4f librustc: Remove unused field enum_sizes from the crate context 2013-12-26 13:01:23 -08:00
Patrick Walton
df7f1374d7 librustc: De-@mut item_symbols 2013-12-26 13:01:23 -08:00
Patrick Walton
610096d8c8 librustc: De-@mut CrateContext::item_vals 2013-12-26 13:01:23 -08:00
Patrick Walton
d3f58c59e4 librustc: De-@mut the monomorphizing field in CrateContext 2013-12-26 13:01:23 -08:00