clarify which function is pushing a global

上级 3ce57d12
...@@ -47,7 +47,7 @@ pub fn eval_body_as_primval<'a, 'tcx>( ...@@ -47,7 +47,7 @@ pub fn eval_body_as_primval<'a, 'tcx>(
}; };
let cleanup = StackPopCleanup::MarkStatic(mutability); let cleanup = StackPopCleanup::MarkStatic(mutability);
let name = ty::tls::with(|tcx| tcx.item_path_str(instance.def_id())); let name = ty::tls::with(|tcx| tcx.item_path_str(instance.def_id()));
trace!("pushing stack frame for global: {}", name); trace!("const_eval: pushing stack frame for global: {}", name);
ecx.push_stack_frame( ecx.push_stack_frame(
instance, instance,
mir.span, mir.span,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册