rustc: Declare LLVM typedefs appropriately
This commit is contained in:
parent
e37c032eb0
commit
cf8ad5f56d
@ -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…
x
Reference in New Issue
Block a user