Skip to content

Commit a456ad2

Browse files
kripkentlively
andauthored
Update src/passes/HeapUntangling.cpp
Co-authored-by: Thomas Lively <tlively123@gmail.com>
1 parent bd59e5d commit a456ad2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎src/passes/HeapUntangling.cpp‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ struct HeapUntangling : public WalkerPass<PostWalker<HeapUntangling>> {
255255

256256
// Finally, if the initial value of the local from the function entry is
257257
// used, do not optimize. For a var, that means the default of zero, which
258-
// will trap, while for params it means an unknown value. We therefore
258+
// will trap when accessed, while for params it means an unknown value. We therefore
259259
// must always check for params, but for vars, if trapsNeverHappen then we
260260
// can assume the null is never accessed, and ignore this issue.
261261
if (func->isParam(localIndex) || !getPassOptions().trapsNeverHappen) {

0 commit comments

Comments
 (0)