Skip to content

Commit 2373341

Browse files
author
thk123
committed
Adding an error
1 parent 9cdb869 commit 2373341

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/analyses/dependence_graph.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,8 @@ static bool may_be_def_use_pair(
162162

163163
// Adding a test change
164164

165+
//adding an error
166+
165167
if((w_end!=-1 && w_end <= r_start) || // we < rs
166168
(r_end!=-1 && w_start >= r_end)) // re < we
167169
return false;

0 commit comments

Comments
 (0)