Rename eval_maybe_thread_local_static_const to adjust_global_const.

This commit is contained in:
Vytautas Astrauskas 2020-04-16 08:34:30 -07:00
parent 325c31e578
commit 4609c3c520

View File

@ -420,7 +420,7 @@ fn box_alloc(
Ok(())
}
fn eval_maybe_thread_local_static_const(
fn adjust_global_const(
ecx: &InterpCx<'mir, 'tcx, Self>,
mut val: mir::interpret::ConstValue<'tcx>,
) -> InterpResult<'tcx, mir::interpret::ConstValue<'tcx>> {