1
Fork 0

Replaced Codegen field access by trait method

This commit is contained in:
Denis Merigoux 2018-08-28 17:50:57 +02:00 committed by Eduard-Mihai Burtescu
parent 8714e6bce6
commit d325844804
16 changed files with 247 additions and 247 deletions

View file

@ -494,7 +494,7 @@ pub fn declare_local(
span: Span,
) {
assert!(!dbg_context.get_ref(span).source_locations_enabled.get());
let cx = bx.cx;
let cx = bx.cx();
let file = span_start(cx, span).file;
let file_metadata = file_metadata(cx,