compiler: remove leftover code after refactor

A few functions were duplicated during the refactor. They can now be
deleted.
This commit is contained in:
Ayke van Laethem
2020-03-18 19:35:02 +01:00
committed by Ron Evans
parent 315b028317
commit 8ef921e028
4 changed files with 0 additions and 118 deletions
-9
View File
@@ -72,15 +72,6 @@ func (b *builder) trackValue(value llvm.Value) {
}
}
// trackPointer creates a call to runtime.trackPointer, bitcasting the poitner
// first if needed. The input value must be of LLVM pointer type.
func (c *Compiler) trackPointer(value llvm.Value) {
if value.Type() != c.i8ptrType {
value = c.builder.CreateBitCast(value, c.i8ptrType, "")
}
c.createRuntimeCall("trackPointer", []llvm.Value{value}, "")
}
// trackPointer creates a call to runtime.trackPointer, bitcasting the poitner
// first if needed. The input value must be of LLVM pointer type.
func (b *builder) trackPointer(value llvm.Value) {