-
-
Save nikomatsakis/5607f3ce59fde68aae098cb1b45c216d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/librustc_mir/borrow_check/nll/mod.rs b/src/librustc_mir/borrow_check/nll/mod.rs | |
index c3d9dd8378..3de46bfe36 100644 | |
--- a/src/librustc_mir/borrow_check/nll/mod.rs | |
+++ b/src/librustc_mir/borrow_check/nll/mod.rs | |
@@ -53,6 +53,7 @@ use self::universal_regions::UniversalRegions; | |
/// scraping out the set of universal regions (e.g., region parameters) | |
/// declared on the function. That set will need to be given to | |
/// `compute_regions`. | |
+#[inline(never)] | |
pub(in borrow_check) fn replace_regions_in_mir<'cx, 'gcx, 'tcx>( | |
infcx: &InferCtxt<'cx, 'gcx, 'tcx>, | |
def_id: DefId, | |
@@ -76,6 +77,7 @@ pub(in borrow_check) fn replace_regions_in_mir<'cx, 'gcx, 'tcx>( | |
/// Computes the (non-lexical) regions from the input MIR. | |
/// | |
/// This may result in errors being reported. | |
+#[inline(never)] | |
pub(in borrow_check) fn compute_regions<'cx, 'gcx, 'tcx>( | |
infcx: &InferCtxt<'cx, 'gcx, 'tcx>, | |
def_id: DefId, | |
diff --git a/src/librustc_mir/dataflow/mod.rs b/src/librustc_mir/dataflow/mod.rs | |
index 85458c7d68..70a0fa7b6d 100644 | |
--- a/src/librustc_mir/dataflow/mod.rs | |
+++ b/src/librustc_mir/dataflow/mod.rs | |
@@ -120,6 +120,7 @@ pub struct MoveDataParamEnv<'gcx, 'tcx> { | |
pub(crate) param_env: ty::ParamEnv<'gcx>, | |
} | |
+#[inline(never)] | |
pub(crate) fn do_dataflow<'a, 'gcx, 'tcx, BD, P>(tcx: TyCtxt<'a, 'gcx, 'tcx>, | |
mir: &'a Mir<'tcx>, | |
node_id: ast::NodeId, | |
@@ -331,6 +332,7 @@ pub(crate) trait DataflowResultsConsumer<'a, 'tcx: 'a> { | |
// Main entry point: this drives the processing of results. | |
+ #[inline(never)] | |
fn analyze_results(&mut self, flow_uninit: &mut Self::FlowState) { | |
let flow = flow_uninit; | |
for bb in self.mir().basic_blocks().indices() { | |
diff --git a/src/librustc_mir/dataflow/move_paths/mod.rs b/src/librustc_mir/dataflow/move_paths/mod.rs | |
index 610963af9e..eec5666beb 100644 | |
--- a/src/librustc_mir/dataflow/move_paths/mod.rs | |
+++ b/src/librustc_mir/dataflow/move_paths/mod.rs | |
@@ -297,6 +297,7 @@ impl<'tcx> MoveError<'tcx> { | |
} | |
impl<'a, 'gcx, 'tcx> MoveData<'tcx> { | |
+ #[inline(never)] | |
pub fn gather_moves(mir: &Mir<'tcx>, tcx: TyCtxt<'a, 'gcx, 'tcx>) | |
-> Result<Self, (Self, Vec<MoveError<'tcx>>)> { | |
builder::gather_moves(mir, tcx) | |
diff --git a/src/tools/rust-installer b/src/tools/rust-installer | |
--- a/src/tools/rust-installer | |
+++ b/src/tools/rust-installer | |
@@ -1 +1 @@ | |
-Subproject commit 118e078c5badd520d18b92813fd88789c8d341ab | |
+Subproject commit 118e078c5badd520d18b92813fd88789c8d341ab-dirty |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment