Fix polymorphic invokes (one more round).
memcpy() exhibits undefined behavior when the source and the destination overlap. Use memmove() instead. This fixes test failures when running the below tests on MIPS. Test: booted MIPS32R2 in QEMU Test: ./run-test --interpreter 953-invoke-polymorphic-compiler Test: ./run-test --interpreter 955-methodhandles-smali Test: ./run-test --interpreter 956-methodhandles Test: ./run-test --interpreter 957-methodhandle-transforms Test: ./run-test --interpreter 958-methodhandle-emulated-stackframe Test: ./run-test --interpreter 959-invoke-polymorphic-accessors Change-Id: Ia17ff25001faa7d91ce1178ab35313c36e75aa07
Loading
Please sign in to comment