diff options
| author | Graydon Hoare <[email protected]> | 2010-06-25 15:43:55 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-06-25 15:43:55 -0700 |
| commit | 67d1f0a9aafaa7dcd63b86032127ab660e630c46 (patch) | |
| tree | c563f52cefc275b0e9d4fd56fdb74d224cd70df7 /src/rt | |
| parent | Return at end of GC glue. (diff) | |
| download | rust-67d1f0a9aafaa7dcd63b86032127ab660e630c46.tar.xz rust-67d1f0a9aafaa7dcd63b86032127ab660e630c46.zip | |
Emit gc glue and rearrange crate glue offsets slightly to have a regular order.
Diffstat (limited to 'src/rt')
| -rw-r--r-- | src/rt/rust_internal.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/rt/rust_internal.h b/src/rt/rust_internal.h index c393b210..3c4fde2a 100644 --- a/src/rt/rust_internal.h +++ b/src/rt/rust_internal.h @@ -263,9 +263,10 @@ rust_crate size_t debug_info_sz; // Size of .debug_info. ptrdiff_t activate_glue_off; - ptrdiff_t exit_task_glue_off; - ptrdiff_t unwind_glue_off; ptrdiff_t yield_glue_off; + ptrdiff_t unwind_glue_off; + ptrdiff_t gc_glue_off; + ptrdiff_t exit_task_glue_off; public: @@ -278,9 +279,11 @@ public: uintptr_t get_image_base() const; ptrdiff_t get_relocation_diff() const; activate_glue_ty get_activate_glue() const; - uintptr_t get_exit_task_glue() const; - uintptr_t get_unwind_glue() const; uintptr_t get_yield_glue() const; + uintptr_t get_unwind_glue() const; + uintptr_t get_gc_glue() const; + uintptr_t get_exit_task_glue() const; + struct mem_area { rust_dom *dom; |