diff options
author | Nicolas Geoffray <ngeoffray@google.com> | 2017-10-13 13:12:36 +0100 |
---|---|---|
committer | Nicolas Geoffray <ngeoffray@google.com> | 2017-10-16 13:48:32 +0100 |
commit | 0aff3a8a5a001b5a07c720ffb6b651aa44b26483 (patch) | |
tree | 1e2c2df682f29c67071d9edeb2bc7b76c04fa093 /compiler/optimizing/codegen_test_utils.h | |
parent | e384c3bbbd23b00c6e991bf1aa8fa1deeac179d4 (diff) |
Fix wrong length passed to AAIOBE on x86/x64.
When getting the length of an array from memory (optimization
done by x86_memory_gen.cc), the slow path was incorrectly
unconditionnally treating the array as a string array, needing
to shr the length value.
Test: 667-out-of-bounds.
Change-Id: I274e68ecf63a70344c4f47db8431425433010283
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions