Skip to content

Commit 62e86e0

Browse files
committed
Fixed compile warnings.
Fixed whitespace "errors".
1 parent 00bb15b commit 62e86e0

File tree

3 files changed

+96
-95
lines changed

3 files changed

+96
-95
lines changed

src/librustc/lib/llvm.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -966,10 +966,10 @@ pub mod llvm {
966966
-> BasicBlockRef;
967967
#[fast_ffi]
968968
pub unsafe fn LLVMDeleteBasicBlock(BB: BasicBlockRef);
969-
969+
970970
#[fast_ffi]
971971
pub unsafe fn LLVMMoveBasicBlockAfter(BB: BasicBlockRef, MoveAfter: BasicBlockRef);
972-
972+
973973
#[fast_ffi]
974974
pub unsafe fn LLVMMoveBasicBlockBefore(BB: BasicBlockRef, MoveBefore: BasicBlockRef);
975975

@@ -2072,13 +2072,13 @@ pub mod llvm {
20722072
Val: ValueRef,
20732073
VarInfo: DIVariable,
20742074
InsertAtEnd: BasicBlockRef) -> ValueRef;
2075-
2075+
20762076
#[fast_ffi]
20772077
pub unsafe fn LLVMDIBuilderInsertDeclareBefore(
20782078
Builder: DIBuilderRef,
20792079
Val: ValueRef,
20802080
VarInfo: DIVariable,
2081-
InsertBefore: ValueRef) -> ValueRef;
2081+
InsertBefore: ValueRef) -> ValueRef;
20822082
}
20832083
}
20842084

src/librustc/middle/trans/base.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1907,7 +1907,7 @@ pub fn trans_closure(ccx: @mut CrateContext,
19071907

19081908
finish(bcx);
19091909
cleanup_and_Br(bcx, bcx_top, fcx.llreturn);
1910-
1910+
19111911
unsafe { llvm::LLVMMoveBasicBlockAfter(fcx.llreturn, bcx.llbb); }
19121912

19131913
// Insert the mandatory first few basic blocks before lltop.

0 commit comments

Comments
 (0)