Skip to content

Commit 61b8dd1

Browse files
committed
---
yaml --- r: 65160 b: refs/heads/master c: 9390cda h: refs/heads/master v: v3
1 parent 6e0341a commit 61b8dd1

File tree

7 files changed

+6
-43
lines changed

7 files changed

+6
-43
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: dc7b83d18659503f47ae622918c3576d430a926e
2+
refs/heads/master: 9390cdaa8b0a35c025a322d458fb54ab015f58f4
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 18e3db7392d2d0697b7e27d6d986139960144d85
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9

trunk/src/libcore/rt/context.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,7 @@ fn new_regs() -> ~Registers { ~([0, .. 32]) }
183183

184184
#[cfg(target_arch = "mips")]
185185
fn initialize_call_frame(regs: &mut Registers, fptr: *c_void, arg: *c_void, sp: *mut uint) {
186-
let sp = align_down(sp);
187-
// sp of mips o32 is 8-byte aligned
188-
let sp = mut_offset(sp, -2);
186+
let sp = mut_offset(sp, -1);
189187

190188
// The final return address. 0 indicates the bottom of the stack
191189
unsafe { *sp = 0; }

trunk/src/libcore/vec.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use old_iter;
2222
use iterator::Iterator;
2323
use kinds::Copy;
2424
use libc;
25-
use old_iter::CopyableIter;
25+
use old_iter::{BaseIter, CopyableIter};
2626
use option::{None, Option, Some};
2727
use ptr::to_unsafe_ptr;
2828
use ptr;

trunk/src/librustc/middle/resolve.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1834,10 +1834,6 @@ pub impl Resolver {
18341834
debug!("(building import directive) bumping \
18351835
reference");
18361836
resolution.outstanding_references += 1;
1837-
1838-
// the source of this name is different now
1839-
resolution.privacy = privacy;
1840-
resolution.id = id;
18411837
}
18421838
None => {
18431839
debug!("(building import directive) creating new");

trunk/src/libsyntax/parse/parser.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1311,7 +1311,7 @@ pub impl Parser {
13111311
ex = expr_vec(~[first_expr], mutbl);
13121312
}
13131313
}
1314-
hi = self.span.hi;
1314+
hi = self.last_span.hi;
13151315
} else if self.eat_keyword("__log") {
13161316
// LOG expression
13171317
self.expect(&token::LPAREN);

trunk/src/rt/arch/mips/context.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,9 @@ void context::call(void *f, void *arg, void *stack)
3434

3535
// set up the stack
3636
uint32_t *sp = (uint32_t *)stack;
37-
sp = align_down(sp);
37+
//sp = align_down(sp);
3838
// The final return address. 0 indicates the bottom of the stack
39-
// sp of mips o32 is 8-byte aligned
40-
sp -= 2;
41-
*sp = 0;
39+
*--sp = 0;
4240

4341
regs.data[4] = (uint32_t)arg;
4442
regs.data[29] = (uint32_t)sp;

trunk/src/test/compile-fail/lint-unused-import-tricky-names.rs

Lines changed: 0 additions & 29 deletions
This file was deleted.

0 commit comments

Comments
 (0)