Commit bbf4c70a authored by Maxime Perrotin's avatar Maxime Perrotin
Browse files

Don't create artificial PI if not needed

Unprotected PIs don't count.
parent 1b3436b7
......@@ -738,8 +738,8 @@ void Preprocess_FV (FV *fv)
* define as unprotected */
else rcm = unprotected;
/* Create a new FV (thread) if there is more than
* one PI in the function */
if (count_pro+count_unpro+count_thread>1) {
* one PI in the function (unprotected don't count) */
if (count_pro+count_thread>1) {
ProcessArtificial_FV_Creation (i, rcm);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment