aboutsummaryrefslogtreecommitdiff
path: root/src/boot/llvm/llabi.ml
diff options
context:
space:
mode:
authorGraydon Hoare <[email protected]>2010-07-20 15:17:08 -0700
committerGraydon Hoare <[email protected]>2010-07-20 15:17:08 -0700
commit05f34b088668b9b087c77363c2c359bcb40ae2ed (patch)
tree78359419990a790e28fee9d67075679714fa96f0 /src/boot/llvm/llabi.ml
parentFix message formatting in runtime library. (diff)
downloadrust-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.ml1
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 *)