Skip to content

Commit 399cd99

Browse files
committed
---
yaml --- r: 3904 b: refs/heads/master c: c94fc7a h: refs/heads/master v: v3
1 parent 6c687cb commit 399cd99

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: b9635df6fef51f9611ecc9fbb6c3edb71a968286
2+
refs/heads/master: c94fc7aad8c7e7ad26ab30b0328323b7e69c9f78

trunk/src/comp/middle/trans.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -478,8 +478,7 @@ fn T_struct(&TypeRef[] elts) -> TypeRef {
478478

479479
fn T_opaque() -> TypeRef { ret llvm::LLVMOpaqueType(); }
480480

481-
fn T_task2() -> TypeRef {
482-
auto s = "task";
481+
fn T_task() -> TypeRef {
483482
auto t =
484483
T_struct(~[T_int(), // Refcount
485484
T_int(), // Delegate pointer
@@ -9085,7 +9084,7 @@ fn make_common_glue(&session::session sess, &str output) {
90859084
// FIXME: part of this is repetitive and is probably a good idea
90869085
// to autogen it.
90879086

9088-
auto task_type = T_task2();
9087+
auto task_type = T_task();
90899088
auto taskptr_type = T_ptr(task_type);
90909089

90919090
auto llmod =
@@ -9171,7 +9170,7 @@ fn trans_crate(&session::session sess, &@ast::crate crate, &ty::ctxt tcx,
91719170
auto td = mk_target_data(x86::get_data_layout());
91729171
auto tn = mk_type_names();
91739172
auto intrinsics = declare_intrinsics(llmod);
9174-
auto task_type = T_task2();
9173+
auto task_type = T_task();
91759174
auto taskptr_type = T_ptr(task_type);
91769175
auto tydesc_type = T_tydesc(taskptr_type);
91779176
auto glues = make_glues(llmod, taskptr_type);

0 commit comments

Comments
 (0)