Skip to content

Commit 7b0230f

Browse files
committed
---
yaml --- r: 4806 b: refs/heads/master c: 1739200 h: refs/heads/master v: v3
1 parent 1a701e1 commit 7b0230f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
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: 1aa1f8c4b7595ced89e0a335c3ebafe3c6d5aba2
2+
refs/heads/master: 1739200b02d0714c6caaf47d7a09cab037a40682

trunk/src/comp/middle/trans_common.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -627,7 +627,7 @@ fn T_tydesc(taskptr_type: TypeRef) -> TypeRef {
627627

628628
fn T_array(t: TypeRef, n: uint) -> TypeRef { ret llvm::LLVMArrayType(t, n); }
629629

630-
fn T_vec(t: TypeRef) -> TypeRef {
630+
fn T_evec(t: TypeRef) -> TypeRef {
631631
ret T_struct(~[T_int(), // Refcount
632632
T_int(), // Alloc
633633
T_int(), // Fill
@@ -637,7 +637,7 @@ fn T_vec(t: TypeRef) -> TypeRef {
637637
T_array(t, 0u)]);
638638
}
639639

640-
fn T_opaque_vec_ptr() -> TypeRef { ret T_ptr(T_vec(T_int())); }
640+
fn T_opaque_vec_ptr() -> TypeRef { ret T_ptr(T_evec(T_int())); }
641641

642642

643643
// Interior vector.
@@ -688,7 +688,7 @@ fn T_opaque_ivec_heap() -> TypeRef {
688688

689689
}
690690

691-
fn T_str() -> TypeRef { ret T_vec(T_i8()); }
691+
fn T_str() -> TypeRef { ret T_evec(T_i8()); }
692692

693693
fn T_box(t: TypeRef) -> TypeRef { ret T_struct(~[T_int(), t]); }
694694

0 commit comments

Comments
 (0)