Skip to content

Commit 9bc822d

Browse files
committed
---
yaml --- r: 67303 b: refs/heads/master c: ac40d53 h: refs/heads/master i: 67301: a8fb18f 67299: c1a3fca 67295: c90b64a v: v3
1 parent b0fdad0 commit 9bc822d

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
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: 61e741cf714020107c6cda12793351fa5b8c7782
2+
refs/heads/master: ac40d5323da30211c8dd516681c6e518777135e9
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: 18e3db7392d2d0697b7e27d6d986139960144d85
55
refs/heads/try: 7b78b52e602bb3ea8174f9b2006bff3315f03ef9

trunk/src/libstd/rt/test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ pub fn run_in_newsched_task(f: ~fn()) {
5050
let on_exit: ~fn(bool) = |exit_status| rtassert!(exit_status);
5151
let mut task = ~Task::new_root(&mut sched.stack_pool,
5252
f.take());
53-
rtdebug!("newsched_task: %x", to_uint(task));
53+
rtdebug!("newsched_task: %x", ::borrow::to_uint(task));
5454
task.death.on_exit = Some(on_exit);
5555
sched.enqueue_task(task);
5656
sched.run();
@@ -145,7 +145,7 @@ pub fn spawntask(f: ~fn()) {
145145
}
146146
};
147147

148-
rtdebug!("new task pointer: %x", to_uint(task));
148+
rtdebug!("new task pointer: %x", ::borrow::to_uint(task));
149149

150150
let sched = Local::take::<Scheduler>();
151151
rtdebug!("spawntask scheduling the new task");

trunk/src/libstd/rt/uv/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ pub fn status_to_maybe_uv_error<T, U: Watcher + NativeHandle<*T>>(handle: U,
288288
None
289289
} else {
290290
unsafe {
291-
rtdebug!("handle: %x", handle as uint);
291+
rtdebug!("handle: %x", handle.native_handle() as uint);
292292
let loop_ = uvll::get_loop_for_uv_handle(handle.native_handle());
293293
rtdebug!("loop: %x", loop_ as uint);
294294
let err = uvll::last_error(loop_);

trunk/src/libstd/unstable/lang.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ pub unsafe fn local_malloc(td: *c_char, size: uintptr_t) -> *c_char {
7171
let mut alloc = ::ptr::null();
7272
do Local::borrow::<Task,()> |task| {
7373
rtdebug!("task pointer: %x, heap pointer: %x",
74-
to_uint(task),
75-
to_uint(&task.heap));
74+
::borrow::to_uint(task),
75+
::borrow::to_uint(&task.heap));
7676
alloc = task.heap.alloc(td as *c_void, size as uint) as *c_char;
7777
}
7878
return alloc;

0 commit comments

Comments
 (0)