diff options
| author | Graydon Hoare <[email protected]> | 2010-07-20 15:17:08 -0700 |
|---|---|---|
| committer | Graydon Hoare <[email protected]> | 2010-07-20 15:17:08 -0700 |
| commit | 05f34b088668b9b087c77363c2c359bcb40ae2ed (patch) | |
| tree | 78359419990a790e28fee9d67075679714fa96f0 /src/boot/llvm/llabi.ml | |
| parent | Fix message formatting in runtime library. (diff) | |
| download | rust-05f34b088668b9b087c77363c2c359bcb40ae2ed.tar.xz rust-05f34b088668b9b087c77363c2c359bcb40ae2ed.zip | |
Adjust llasm, llabi to be aware of changes to rust_task structure. Still not working fully.
Diffstat (limited to 'src/boot/llvm/llabi.ml')
| -rw-r--r-- | src/boot/llvm/llabi.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/boot/llvm/llabi.ml b/src/boot/llvm/llabi.ml index 09340c53..08966efc 100644 --- a/src/boot/llvm/llabi.ml +++ b/src/boot/llvm/llabi.ml @@ -43,6 +43,7 @@ let declare_abi (llctx:Llvm.llcontext) (llmod:Llvm.llmodule) : abi = (* TODO: other architectures besides x86 *) Llvm.struct_type llctx [| i32; (* size_t refcnt *) + Llvm.pointer_type i32; (* rust_task *_delegate *) Llvm.pointer_type i32; (* stk_seg *stk *) Llvm.pointer_type i32; (* uintptr_t runtime_sp *) Llvm.pointer_type i32; (* uintptr_t rust_sp *) |