Skip to content

Commit e3bf2ee

Browse files
committed
---
yaml --- r: 1712 b: refs/heads/master c: f3b5894 h: refs/heads/master v: v3
1 parent 6f65286 commit e3bf2ee

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
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: 533dea772f293e1314e7129ac6ed24c5ad333e1e
2+
refs/heads/master: f3b58947c0c718d9366dac0c9df2c452e00a1ed3

trunk/src/comp/middle/trans.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4181,8 +4181,8 @@ fn trans_vec(@block_ctxt cx, vec[@ast.expr] args,
41814181
auto bcx = cx;
41824182
auto unit_sz = size_of(bcx, unit_ty);
41834183
bcx = unit_sz.bcx;
4184-
auto data_sz = llvm.LLVMConstMul(C_int(_vec.len[@ast.expr](args) as int),
4185-
unit_sz.val);
4184+
auto data_sz = bcx.build.Mul(C_int(_vec.len[@ast.expr](args) as int),
4185+
unit_sz.val);
41864186

41874187
// FIXME: pass tydesc properly.
41884188
auto sub = trans_upcall(bcx, "upcall_new_vec", vec(data_sz, C_int(0)));

0 commit comments

Comments
 (0)