arch: get rid of dummy var init
authorSteve Reinhardt <steve.reinhardt@amd.com>
Sun, 7 Feb 2016 01:21:20 +0000 (17:21 -0800)
committerSteve Reinhardt <steve.reinhardt@amd.com>
Sun, 7 Feb 2016 01:21:20 +0000 (17:21 -0800)
commitf5343df1e1999e66c39b95085b77b547e7d94262
tree87c16b2fd80e22d4402833604182bd3f72411464
parent92b750d5efb56359e3c95ca6bc093ab4b6395aa1
arch: get rid of dummy var init

MemOperand variables were being initialized to 0
"to avoid 'uninitialized variable' errors" but these
no longer seem to be a problem (with the exception of
one use case in POWER that is arguably broken and
easily fixed here).

Getting rid of the initialization is necessary to
set up a subsequent patch which extends memory
operands to possibly not be scalars, making the
'= 0' initialization no longer feasible.
src/arch/isa_parser.py
src/arch/power/isa/decoder.isa