Skip to content

Commit e0cb48c

Browse files
committed
---
yaml --- r: 2323 b: refs/heads/master c: 5617462 h: refs/heads/master i: 2321: ad1ef9c 2319: ff6e58f v: v3
1 parent d6c34fd commit e0cb48c

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: a3ff02f1266795691d6cb97dc0de886c613b39ed
2+
refs/heads/master: 561746238835f28e308cd8f8cf75bc8da707fd5f

trunk/src/rt/rust_task.cpp

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -290,8 +290,6 @@ rust_task::start_rustc(uintptr_t exit_task_glue,
290290
*spp-- = (uintptr_t) 0x0; // output
291291
*spp-- = (uintptr_t) 0x0; // retpc
292292

293-
uintptr_t exit_task_frame_base = 0;
294-
295293
I(dom, args);
296294
make_aligned_room_for_bytes(spp, callsz - 3 * sizeof(uintptr_t));
297295

@@ -325,11 +323,7 @@ rust_task::start_rustc(uintptr_t exit_task_glue,
325323
// The context the activate_glue needs to switch stack.
326324
*spp-- = (uintptr_t) spawnee_fn; // instruction to start at
327325
for (size_t j = 0; j < n_callee_saves; ++j) {
328-
// callee-saves to carry in when we activate
329-
if (j == callee_save_fp)
330-
*spp-- = exit_task_frame_base;
331-
else
332-
*spp-- = (uintptr_t)NULL;
326+
*spp-- = (uintptr_t)NULL;
333327
}
334328

335329
// Back up one, we overshot where sp should be.

0 commit comments

Comments
 (0)