diff --git a/dyninstAPI/src/BPatch_function.C b/dyninstAPI/src/BPatch_function.C index 1d3fe87131..80233c4722 100644 --- a/dyninstAPI/src/BPatch_function.C +++ b/dyninstAPI/src/BPatch_function.C @@ -602,10 +602,6 @@ BPatch_Vector *BPatch_function::findPoint( if (!mod->isValid()) return NULL; - // if the function is not instrumentable, we won't find the point - if (!isInstrumentable()) - return NULL; - BPatch_Vector *result = new BPatch_Vector; switch(loc) {