rustc: Declare LLVM typedefs appropriately
This commit is contained in:
parent
e37c032eb0
commit
cf8ad5f56d
1 changed files with 1 additions and 0 deletions
|
|
@ -261,6 +261,7 @@ fn T_taskptr() -> TypeRef {
|
|||
fn type_of(@crate_ctxt cx, @typeck.ty t) -> TypeRef {
|
||||
let TypeRef llty = type_of_inner(cx, t);
|
||||
check (llty as int != 0);
|
||||
llvm.LLVMAddTypeName(cx.llmod, _str.buf(typeck.ty_to_str(t)), llty);
|
||||
ret llty;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue