Commit 55884bc1 authored by Mark Mendell's avatar Mark Mendell Committed by Ian Rogers
Browse files

X86_64: Proper IMT fix



Unfortunately, 97184: X86_64: Pass 'hidden method index' in EAX wasn't
correct.  TargetReg(kInvokeTgt) is ALSO EAX, and so invoke-interface
blows up, since the saved index is overwritten by the generated code.

Change kInvokeTgt to EDI (the same as ARG0).

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