Remove outdated comment

This commit is contained in:
Andrew Morris
2023-07-06 18:27:09 +10:00
parent d9ce30d2d1
commit 90c276d915

View File

@@ -747,11 +747,6 @@ impl<'a> ExpressionCompiler<'a> {
}
};
// Always copy pre-increment value into a register.
// This is a bit heavy-handed (FIXME), but it's consistent with the current policy of
// doing this whenever the variable is mutated, which it clearly is. Really though, the
// issue is when *other* mutations to this variable occur between now and when it's
// inserted.
self
.fnc
.push(Instruction::Mov(Value::Register(reg.clone()), res.clone()));