Content deleted Content added
Javed Pathan (talk | contribs) No edit summary |
Tag: nowiki added |
||
Line 40:
In the code fragment below, the expression (x + y) is loop invariant, and the addition can be hoisted out of the loop.
<nowiki>
void f (int x, int y)
{
Line 49 ⟶ 50:
}
}
</nowiki>
Below is the code fragment after the invariant expression has been hoisted out of the loop.
<nowiki>
void f (int x, int y)
{
Line 63 ⟶ 64:
}
}
</nowiki>
Notes:
|