Remove remaining traces of block_arena

This commit is contained in:
Mark-Simulacrum 2016-12-15 18:05:05 -07:00 committed by Mark Simulacrum
parent 5bdcc22b79
commit da23332b65
2 changed files with 0 additions and 5 deletions

View file

@ -664,7 +664,6 @@ impl<'blk, 'tcx> FunctionContext<'blk, 'tcx> {
llfndecl: ValueRef,
fn_ty: FnType,
definition: Option<(Instance<'tcx>, &ty::FnSig<'tcx>, Abi)>)
//block_arena: &'blk TypedArena<common::BlockS<'blk, 'tcx>>)
-> FunctionContext<'blk, 'tcx> {
let (param_substs, def_id) = match definition {
Some((instance, ..)) => {
@ -708,7 +707,6 @@ impl<'blk, 'tcx> FunctionContext<'blk, 'tcx> {
fn_ty: fn_ty,
param_substs: param_substs,
span: None,
//block_arena: block_arena,
funclet_arena: TypedArena::new(),
ccx: ccx,
debug_context: debug_context,

View file

@ -303,9 +303,6 @@ pub struct FunctionContext<'a, 'tcx: 'a> {
// error reporting and symbol generation.
pub span: Option<Span>,
// The arena that blocks are allocated from.
//pub block_arena: &'a TypedArena<BlockS<'a, 'tcx>>,
// The arena that landing pads are allocated from.
pub funclet_arena: TypedArena<Funclet>,