Skip to content

Commit 012985f

Browse files
author
Matthias Güdemann
committed
Skip instructions from virtual call removal from instrumentation
This adds a goal_filter to the instrumentation that skips over instructions marked as originating from a removed virtual call.
1 parent e596be1 commit 012985f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/goto-instrument/cover_filter.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,5 +101,8 @@ operator()(const source_locationt &source_location) const
101101
if(source_location.is_built_in())
102102
return false;
103103

104+
if(source_location.get_java_removed_virtual_call())
105+
return false;
106+
104107
return true;
105108
}

0 commit comments

Comments
 (0)