X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=lib%2FTransforms%2FInstrumentation%2FBoundsChecking.cpp;h=505fb831591d108e7a6864b261adab664792e901;hp=3493c4be3152dcf6b75210babbbe2e6be30e01af;hb=2ca626570fa1f2837bd0cea06303ed46890c6480;hpb=b6cbecd27298ca795eba350ee68fb82c4f4e422a diff --git a/lib/Transforms/Instrumentation/BoundsChecking.cpp b/lib/Transforms/Instrumentation/BoundsChecking.cpp index 3493c4be315..505fb831591 100644 --- a/lib/Transforms/Instrumentation/BoundsChecking.cpp +++ b/lib/Transforms/Instrumentation/BoundsChecking.cpp @@ -62,8 +62,6 @@ namespace { BasicBlock *getTrapBB(); void emitBranchToTrap(Value *Cmp = 0); - bool computeAllocSize(Value *Ptr, APInt &Offset, Value* &OffsetValue, - APInt &Size, Value* &SizeValue); bool instrument(Value *Ptr, Value *Val); }; }