Commit ae427c3b authored by Mark Mendell's avatar Mark Mendell
Browse files

Fix X86Mir2Lir::LoadBaseIndexedDisp causing SEGV



If you are loading an 'array' long/double value, the generated code
could cause a SEGV, because the destination for the first load is the
same as the index register.  The case for the base register being the
same as the destination was handled, but not the index register.

With this change, Calculator properly runs on the emulator.

Change-Id: Ib7e652938cdc9e127fb80ee2f541a4225a5e9ab7
Signed-off-by: default avatarMark Mendell <mark.p.mendell@intel.com>
parent 9d8918fe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment