Skip to content

Commit 9f34bee

Browse files
generatedunixname89002005287564facebook-github-bot
authored andcommitted
fbcode//cinderx/Jit/lir:dce_3.10
Reviewed By: dtolnay Differential Revision: D78881246 fbshipit-source-id: d42cca369bb5fff813abad8b6d344e52b7d67a0d
1 parent f38b746 commit 9f34bee

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Jit/lir/dce.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ void eliminateDeadCode(Function* function) {
8686
auto iterator_to_remove = instruction_iterator;
8787
++instruction_iterator;
8888

89-
if (live_set.count(iterator_to_remove->get()) == 0) {
89+
if (!live_set.contains(iterator_to_remove->get())) {
9090
block->removeInstr(iterator_to_remove);
9191
}
9292
}

0 commit comments

Comments
 (0)