diff options
| author | 2014-03-05 11:26:39 -0800 | |
|---|---|---|
| committer | 2014-03-05 11:26:39 -0800 | |
| commit | a44d4f508fa1642294e79d3ebecd790afe75ea60 (patch) | |
| tree | 980a81f8926acdc304875cbd324ba70895bb1d29 /compiler/utils/mips/assembler_mips.cc | |
| parent | 6f2083d3f909bce3988e71cd80374cee038ecba6 (diff) | |
Fix read of uninitialized memory in InlineIndexOf
The are two flavors of IndexOf that we treat as an intrinsic: a
zero-based verion with 2 args and a 3-arg version that also takes
a start position. The same code is used for both, but Valgrind
reminded us that we shouldn't try loading a RegLocation for the
non-extent 3rd arg in the 2 argument version.
We got lucky in that the bug was benign - the generated code would
still be correct.
Change-Id: I0bc7798c8034d35007ffe6d6d62f9ceb91fc44fd
Diffstat (limited to 'compiler/utils/mips/assembler_mips.cc')
0 files changed, 0 insertions, 0 deletions