Skip to content

Commit e0b63b0

Browse files
debuginfo: Fixed some merge fallout
1 parent 6b2df76 commit e0b63b0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/librustc/middle/trans/debuginfo.rs

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ pub enum FunctionDebugContext {
124124
}
125125

126126
impl FunctionDebugContext {
127-
fn get_ref<'a>(&'a self, cx: &CrateContext, span: span) -> &'a FunctionDebugContextData {
127+
fn get_ref<'a>(&'a self, cx: &CrateContext, span: Span) -> &'a FunctionDebugContextData {
128128
match *self {
129129
FunctionDebugContext(~ref data) => data,
130130
DebugInfoDisabled => {
@@ -140,7 +140,7 @@ impl FunctionDebugContext {
140140

141141
fn get_mut_ref<'a>(&'a mut self,
142142
cx: &CrateContext,
143-
span: span)
143+
span: Span)
144144
-> &'a mut FunctionDebugContextData {
145145
match *self {
146146
FunctionDebugContext(~ref mut data) => data,
@@ -229,7 +229,7 @@ pub fn create_local_var_metadata(bcx: @mut Block,
229229
pub fn create_captured_var_metadata(bcx: @mut Block,
230230
node_id: ast::NodeId,
231231
llptr: ValueRef,
232-
span: span) {
232+
span: Span) {
233233
if fn_should_be_ignored(bcx.fcx) {
234234
return;
235235
}
@@ -270,7 +270,7 @@ pub fn create_match_binding_metadata(bcx: @mut Block,
270270
variable_ident: ast::Ident,
271271
node_id: ast::NodeId,
272272
variable_type: ty::t,
273-
span: span) {
273+
span: Span) {
274274
if fn_should_be_ignored(bcx.fcx) {
275275
return;
276276
}
@@ -406,7 +406,7 @@ pub fn create_argument_metadata(bcx: @mut Block,
406406
/// reliably find the correct visibility scope for the code position.
407407
pub fn set_source_location(fcx: &FunctionContext,
408408
node_id: ast::NodeId,
409-
span: span) {
409+
span: Span) {
410410
if fn_should_be_ignored(fcx) {
411411
return;
412412
}
@@ -784,12 +784,12 @@ fn compile_unit_metadata(cx: @mut CrateContext) {
784784

785785
fn declare_local(bcx: @mut Block,
786786
llptr: ValueRef,
787-
variable_ident: ast::ident,
787+
variable_ident: ast::Ident,
788788
variable_type: ty::t,
789789
scope_metadata: DIScope,
790790
variable_access: VariableAccess,
791791
variable_kind: VariableKind,
792-
span: span) {
792+
span: Span) {
793793
let cx: &mut CrateContext = bcx.ccx();
794794

795795
let filename = span_start(cx, span).file.name;
@@ -890,7 +890,7 @@ fn file_metadata(cx: &mut CrateContext, full_path: &str) -> DIFile {
890890
/// Finds the scope metadata node for the given AST node.
891891
fn scope_metadata(fcx: &FunctionContext,
892892
node_id: ast::NodeId,
893-
span: span)
893+
span: Span)
894894
-> DIScope {
895895
let scope_map = &fcx.debug_context.get_ref(fcx.ccx, span).scope_map;
896896

@@ -1428,7 +1428,7 @@ fn vec_slice_metadata(cx: &mut CrateContext,
14281428

14291429
fn subroutine_type_metadata(cx: &mut CrateContext,
14301430
signature: &ty::FnSig,
1431-
span: span)
1431+
span: Span)
14321432
-> DICompositeType {
14331433
let loc = span_start(cx, span);
14341434
let file_metadata = file_metadata(cx, loc.file.name);

0 commit comments

Comments
 (0)