Skip to content

Commit fe2aaa4

Browse files
committed
---
yaml --- r: 2763 b: refs/heads/master c: b129258 h: refs/heads/master i: 2761: ccc898d 2759: acfd49c v: v3
1 parent ad7591f commit fe2aaa4

File tree

5 files changed

+7
-13
lines changed

5 files changed

+7
-13
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: 0fc91b6ecc975bf508ec631a9fe3ea19e8df4579
2+
refs/heads/master: b1292580b95ea4a2ab22682ff04a91004c44cd06

trunk/src/comp/middle/trans.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7672,9 +7672,9 @@ fn create_crate_constant(ValueRef crate_ptr, @glue_fns glues) {
76727672
C_null(T_int()), // size_t debug_info_sz
76737673
C_null(T_int()), // size_t pad
76747674
yield_glue_off, // size_t yield_glue_off
7675-
C_null(T_int()), // size_t unwind_glue_off
7676-
C_null(T_int()), // size_t gc_glue_off
76777675
C_null(T_int()), // size_t pad
7676+
C_null(T_int()), // size_t gc_glue_off
7677+
C_null(T_int()), // size_t pad2
76787678
C_null(T_int()), // int n_rust_syms
76797679
C_null(T_int()), // int n_c_syms
76807680
C_null(T_int()) // int n_libs

trunk/src/rt/rust_crate.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,6 @@ rust_crate::get_relocation_diff() const {
1111
return ((uintptr_t)this - self_addr);
1212
}
1313

14-
uintptr_t
15-
rust_crate::get_unwind_glue() const {
16-
return ((uintptr_t)this + unwind_glue_off);
17-
}
18-
1914
uintptr_t
2015
rust_crate::get_gc_glue() const {
2116
return ((uintptr_t)this + gc_glue_off);

trunk/src/rt/rust_internal.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,9 @@ class rust_crate {
233233

234234
ptrdiff_t activate_glue_off;
235235
ptrdiff_t yield_glue_off;
236-
ptrdiff_t unwind_glue_off;
237-
ptrdiff_t gc_glue_off;
238236
ptrdiff_t pad;
237+
ptrdiff_t gc_glue_off;
238+
ptrdiff_t pad2;
239239

240240
public:
241241

@@ -248,7 +248,6 @@ class rust_crate {
248248
uintptr_t get_image_base() const;
249249
ptrdiff_t get_relocation_diff() const;
250250
uintptr_t get_yield_glue() const;
251-
uintptr_t get_unwind_glue() const;
252251
uintptr_t get_gc_glue() const;
253252

254253
struct mem_area

trunk/src/rt/rust_task.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ rust_task::kill() {
349349
dom->fail();
350350

351351
LOG(this, task, "preparing to unwind task: 0x%" PRIxPTR, this);
352-
run_on_resume(dom->root_crate->get_unwind_glue());
352+
// run_on_resume(rust_unwind_glue);
353353
}
354354

355355
void
@@ -361,7 +361,7 @@ rust_task::fail(size_t nargs) {
361361
unblock();
362362
if (this == dom->root_task)
363363
dom->fail();
364-
run_after_return(nargs, dom->root_crate->get_unwind_glue());
364+
// run_after_return(nargs, rust_unwind_glue);
365365
if (supervisor) {
366366
DLOG(dom, task,
367367
"task %s @0x%" PRIxPTR

0 commit comments

Comments
 (0)