On Tue, Aug 25, 2009 at 1:59 PM, Gabriel Michael Black<[email protected]> wrote: > Quoting Steve Reinhardt <[email protected]>: >> - Pass by reference operands should also just be flagged as errors, >> since there's no way to know if the operand is read, written, or both. > > It's more difficult than that, though, since it's not possible as far as I > know to tell when an operand is passed as reference without a prototype.
Good point... if we wanted to be completely safe we'd either have to require a prototype to be in scope or forbid using instruction operands directly as function call operands altogether. Steve _______________________________________________ m5-dev mailing list [email protected] http://m5sim.org/mailman/listinfo/m5-dev
