Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
78a1c45
run-pass/simd-intrinsic-float-minmax: Force use of qNaN on Mips
Jul 31, 2018
b3d2346
unsized ManuallyDrop
RalfJung Aug 3, 2018
3dcdb8a
remove unnecessary CoerceUnsized impl
RalfJung Aug 6, 2018
d865adc
unconfuse @eddyb
RalfJung Aug 6, 2018
5ee5a7e
repr(transparent)
RalfJung Aug 9, 2018
c9aca02
Don't panic on std::env::vars() when env in null.
BurntPizza Aug 8, 2018
6563803
Don't set rlimit to a lower value than the current
varkor Aug 9, 2018
82a704a
Add a safety check for compiletest rlimit
varkor Aug 9, 2018
1aa6c23
Feature gate where clauses on associated type impls
varkor Aug 9, 2018
898950c
targets: aarch64: Add bare-metal aarch64 target
andre-richter Aug 9, 2018
763e721
rustc_codegen_llvm: Restore the closure env alloca hack for LLVM 5.
cuviper Aug 9, 2018
176f8c2
Removed `raw_identifiers` feature gate.
alexreg Aug 9, 2018
44af068
Remove statics field from CodegenCx
bjorn3 Aug 11, 2018
535bd13
A few cleanups for fmt_macros, graphviz, apfloat, target, serialize a…
ljedrz Aug 10, 2018
66fd1eb
Make LLVM emit assembly comments with -Z asm-comments.
whitequark Aug 12, 2018
5937048
Move SmallVec and ThinVec out of libsyntax
ljedrz Aug 5, 2018
40d9bd0
A few cleanups and minor improvements for the lexer
ljedrz Aug 12, 2018
5dd8ed0
Re-enable a bunch of debuginfo tests.
michaelwoerister Aug 7, 2018
ef90ad9
Rollup merge of #53085 - ljedrz:cleanup_syntax_structures, r=ljedrz
kennytm Aug 13, 2018
81b8fdd
Rollup merge of #53154 - michaelwoerister:reenable-some-debuginfo-tes…
kennytm Aug 13, 2018
cabe191
Rollup merge of #53208 - BurntPizza:protect-the-environment, r=alexcr…
kennytm Aug 13, 2018
08efa99
Rollup merge of #53229 - varkor:rlimits_min, r=nikomatsakis
kennytm Aug 13, 2018
f38fa90
Rollup merge of #53233 - andre-richter:master, r=alexcrichton
kennytm Aug 13, 2018
c6eebd9
Rollup merge of #53235 - varkor:gat_impl_where, r=estebank
kennytm Aug 13, 2018
5931aa7
Rollup merge of #53236 - alexreg:stabilise-raw-idents, r=cramertj
kennytm Aug 13, 2018
be77e34
Rollup merge of #53239 - cuviper:llvm5-closure-alloca, r=eddyb
kennytm Aug 13, 2018
de7b89d
Rollup merge of #53274 - bjorn3:remove_statics_field, r=nagisa
kennytm Aug 13, 2018
f6493dd
Rollup merge of #53289 - ljedrz:improve_lexer, r=michaelwoerister
kennytm Aug 13, 2018
203450f
Rollup merge of #53290 - whitequark:fix-35741, r=nagisa
kennytm Aug 13, 2018
c80cf1a
Rollup merge of #52895 - draganmladjenovic:minmax_qnan, r=alexcrichton
kennytm Aug 14, 2018
6212062
Rollup merge of #53033 - RalfJung:manually_dro, r=SimonSapin
kennytm Aug 14, 2018
092475f
Rollup merge of #53246 - ljedrz:cleanup_various, r=kennytm
kennytm Aug 14, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Remove statics field from CodegenCx
  • Loading branch information
bjorn3 committed Aug 11, 2018
commit 44af0683883b0c1ce2a4d5f360cc9f50062dc9d1
1 change: 0 additions & 1 deletion src/librustc_codegen_llvm/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,6 @@ pub fn get_static(cx: &CodegenCx<'ll, '_>, def_id: DefId) -> &'ll Value {
}

cx.instances.borrow_mut().insert(instance, g);
cx.statics.borrow_mut().insert(g, def_id);
g
}

Expand Down
5 changes: 0 additions & 5 deletions src/librustc_codegen_llvm/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ use common;
use llvm;
use rustc::dep_graph::DepGraphSafe;
use rustc::hir;
use rustc::hir::def_id::DefId;
use debuginfo;
use callee;
use base;
Expand Down Expand Up @@ -77,9 +76,6 @@ pub struct CodegenCx<'a, 'tcx: 'a> {
/// Cache of emitted const globals (value -> global)
pub const_globals: RefCell<FxHashMap<&'a Value, &'a Value>>,

/// Mapping from static definitions to their DefId's.
pub statics: RefCell<FxHashMap<&'a Value, DefId>>,

/// List of globals for static variables which need to be passed to the
/// LLVM function ReplaceAllUsesWith (RAUW) when codegen is complete.
/// (We have to make sure we don't invalidate any Values referring
Expand Down Expand Up @@ -297,7 +293,6 @@ impl<'a, 'tcx> CodegenCx<'a, 'tcx> {
const_cstr_cache: RefCell::new(FxHashMap()),
const_unsized: RefCell::new(FxHashMap()),
const_globals: RefCell::new(FxHashMap()),
statics: RefCell::new(FxHashMap()),
statics_to_rauw: RefCell::new(Vec::new()),
used_statics: RefCell::new(Vec::new()),
lltypes: RefCell::new(FxHashMap()),
Expand Down
1 change: 0 additions & 1 deletion src/librustc_codegen_llvm/mono_item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@ fn predefine_static<'a, 'tcx>(cx: &CodegenCx<'a, 'tcx>,
}

cx.instances.borrow_mut().insert(instance, g);
cx.statics.borrow_mut().insert(g, def_id);
}

fn predefine_fn<'a, 'tcx>(cx: &CodegenCx<'a, 'tcx>,
Expand Down