about summary refs log tree commit diff
path: root/src/comp/back
diff options
context:
space:
mode:
authorMarijn Haverbeke <marijnh@gmail.com>2011-10-20 11:56:45 +0200
committerMarijn Haverbeke <marijnh@gmail.com>2011-10-20 14:22:17 +0200
commit8124846b2c945f661a6bb85e66e22ca987891dc4 (patch)
treea299fea71192b2716e063a7098e5c6b6850967bb /src/comp/back
parent457683c7feef42f07f3044ccfdc8ee7816176ab0 (diff)
downloadrust-8124846b2c945f661a6bb85e66e22ca987891dc4.tar.gz
rust-8124846b2c945f661a6bb85e66e22ca987891dc4.zip
Get rid of taskpointer-passing throughout the compiler
Only intrinsics still take a dummy taskptr. We'll have to do some
makefile stunts to snapshot a version without taskptrs-in-intrinsics.

Issue #466
Diffstat (limited to 'src/comp/back')
-rw-r--r--src/comp/back/upcall.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/comp/back/upcall.rs b/src/comp/back/upcall.rs
index 693212bfb89..2589247e2cd 100644
--- a/src/comp/back/upcall.rs
+++ b/src/comp/back/upcall.rs
@@ -31,7 +31,7 @@ type upcalls =
      rust_personality: ValueRef};
 
 fn declare_upcalls(_tn: type_names, tydesc_type: TypeRef,
-                   taskptr_type: TypeRef, llmod: ModuleRef) -> @upcalls {
+                   llmod: ModuleRef) -> @upcalls {
     fn decl(llmod: ModuleRef, name: str, tys: [TypeRef], rv: TypeRef) ->
        ValueRef {
         let arg_tys: [TypeRef] = [];
@@ -63,7 +63,7 @@ fn declare_upcalls(_tn: type_names, tydesc_type: TypeRef,
                   T_ptr(T_i8())]),
           cmp_type:
               dv("cmp_type",
-                 [T_ptr(T_i1()), taskptr_type, T_ptr(tydesc_type),
+                 [T_ptr(T_i1()), T_ptr(tydesc_type),
                   T_ptr(T_ptr(tydesc_type)), T_ptr(T_i8()), T_ptr(T_i8()),
                   T_i8()]),
           log_type: