projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Deprecate a few C APIs.
[oota-llvm.git]
/
bindings
/
go
/
llvm
/
bitreader.go
diff --git
a/bindings/go/llvm/bitreader.go
b/bindings/go/llvm/bitreader.go
index 92652863fdcad7f057d7b873ea2152867b7bc15b..c3bf07a19044bed6b12f51830726ed0726a73cb8 100644
(file)
--- a/
bindings/go/llvm/bitreader.go
+++ b/
bindings/go/llvm/bitreader.go
@@
-41,7
+41,7
@@
func ParseBitcodeFile(name string) (Module, error) {
defer C.LLVMDisposeMemoryBuffer(buf)
var m Module
- if C.LLVMParseBitcode
(buf, &m.C, &errmsg
) == 0 {
+ if C.LLVMParseBitcode
2(buf, &m.C
) == 0 {
return m, nil
}