mirror of
https://github.com/voltrevo/ValueScript.git
synced 2026-04-18 03:00:27 -04:00
Remove outdated comment
This commit is contained in:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user