summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorAlexey Frunze <Alexey.Frunze@imgtec.com>2017-01-19 19:07:37 -0800
committerAlexey Frunze <Alexey.Frunze@imgtec.com>2017-01-19 21:20:45 -0800
commit8631a46d6d93d739428873b9b4053d228b9b5cfa (patch)
treeaef39e578a857c49817398f567bb2508839e942b /compiler/optimizing/codegen_test_utils.h
parentdedb22a0e099c81435a764881bdfa8bb050c3d3f (diff)
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
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions