From ee8648bdac07986a0f1ec897b02ec82a2f144d46 Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Fri, 7 Aug 2015 23:01:33 +0000 Subject: Vendor import of llvm trunk r242221: https://llvm.org/svn/llvm-project/llvm/trunk@242221 --- bindings/python/llvm/object.py | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'bindings/python') diff --git a/bindings/python/llvm/object.py b/bindings/python/llvm/object.py index 4e912ed5da9d..b427113e9cea 100644 --- a/bindings/python/llvm/object.py +++ b/bindings/python/llvm/object.py @@ -371,14 +371,6 @@ class Relocation(LLVMObject): self.expired = False - @CachedProperty - def address(self): - """The address of this relocation, in long bytes.""" - if self.expired: - raise Exception('Relocation instance has expired.') - - return lib.LLVMGetRelocationAddress(self) - @CachedProperty def offset(self): """The offset of this relocation, in long bytes.""" @@ -498,9 +490,6 @@ def register_library(library): library.LLVMGetSymbolSize.argtypes = [Symbol] library.LLVMGetSymbolSize.restype = c_uint64 - library.LLVMGetRelocationAddress.argtypes = [c_object_p] - library.LLVMGetRelocationAddress.restype = c_uint64 - library.LLVMGetRelocationOffset.argtypes = [c_object_p] library.LLVMGetRelocationOffset.restype = c_uint64 -- cgit v1.3