Small cleanups that were missing in the last patch.
This commit is contained in:
parent
b9635df6fe
commit
c94fc7aad8
1 changed files with 3 additions and 4 deletions
|
@ -478,8 +478,7 @@ fn T_struct(&TypeRef[] elts) -> TypeRef {
|
||||||
|
|
||||||
fn T_opaque() -> TypeRef { ret llvm::LLVMOpaqueType(); }
|
fn T_opaque() -> TypeRef { ret llvm::LLVMOpaqueType(); }
|
||||||
|
|
||||||
fn T_task2() -> TypeRef {
|
fn T_task() -> TypeRef {
|
||||||
auto s = "task";
|
|
||||||
auto t =
|
auto t =
|
||||||
T_struct(~[T_int(), // Refcount
|
T_struct(~[T_int(), // Refcount
|
||||||
T_int(), // Delegate pointer
|
T_int(), // Delegate pointer
|
||||||
|
@ -9085,7 +9084,7 @@ fn make_common_glue(&session::session sess, &str output) {
|
||||||
// FIXME: part of this is repetitive and is probably a good idea
|
// FIXME: part of this is repetitive and is probably a good idea
|
||||||
// to autogen it.
|
// to autogen it.
|
||||||
|
|
||||||
auto task_type = T_task2();
|
auto task_type = T_task();
|
||||||
auto taskptr_type = T_ptr(task_type);
|
auto taskptr_type = T_ptr(task_type);
|
||||||
|
|
||||||
auto llmod =
|
auto llmod =
|
||||||
|
@ -9171,7 +9170,7 @@ fn trans_crate(&session::session sess, &@ast::crate crate, &ty::ctxt tcx,
|
||||||
auto td = mk_target_data(x86::get_data_layout());
|
auto td = mk_target_data(x86::get_data_layout());
|
||||||
auto tn = mk_type_names();
|
auto tn = mk_type_names();
|
||||||
auto intrinsics = declare_intrinsics(llmod);
|
auto intrinsics = declare_intrinsics(llmod);
|
||||||
auto task_type = T_task2();
|
auto task_type = T_task();
|
||||||
auto taskptr_type = T_ptr(task_type);
|
auto taskptr_type = T_ptr(task_type);
|
||||||
auto tydesc_type = T_tydesc(taskptr_type);
|
auto tydesc_type = T_tydesc(taskptr_type);
|
||||||
auto glues = make_glues(llmod, taskptr_type);
|
auto glues = make_glues(llmod, taskptr_type);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue