Skip to content

Commit 42ac4fa

Browse files
committed
---
yaml --- r: 4791 b: refs/heads/master c: 51af43f h: refs/heads/master i: 4789: 7381ae6 4787: 1a7fecd 4783: e131156 v: v3
1 parent 13653f5 commit 42ac4fa

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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: f17edf9829e88090445a7f8b3e74979ca08ecfa0
2+
refs/heads/master: 51af43f192407c4920134638e910c85f8ee6ee36

trunk/src/comp/middle/trans.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -354,6 +354,7 @@ fn decl_internal_fastcall_fn(llmod: ModuleRef, name: &str, llty: TypeRef) ->
354354
let llfn = decl_fn(llmod, name, lib::llvm::LLVMFastCallConv, llty);
355355
llvm::LLVMSetLinkage(llfn,
356356
lib::llvm::LLVMInternalLinkage as llvm::Linkage);
357+
llvm::LLVMSetGC(llfn, str::buf("rust"));
357358
ret llfn;
358359
}
359360

0 commit comments

Comments
 (0)