commit | 503b9b08a65ce8acd041aa78eb5e490360cff71b | [log] [tgz] |
---|---|---|
author | Logan Chien <logan.chien@mediatek.com> | Thu Sep 11 17:36:05 2014 +0800 |
committer | Ian Rogers <irogers@google.com> | Fri Sep 19 17:38:39 2014 -0700 |
tree | c97296589be94362ea22d4aeccf22b195eff1a61 | |
parent | dcfd6cad9670ca3ae460a4af0bbe7d88cae21a3c [diff] |
Fix sput-wide verification flag. The vA register for sput-wide is a wide register. Thus, the verification flag should be kVerifyRegAWide instead of kVerifyRegA. Without this change, the invalid Dex bytecode won't be rejected by VerifyInstruction(). As the result, the DCHECK_LT() in register_line-inl.h will abort the program. Change-Id: I24b746d8a85ddaf811d9aebed12a3dd9f97d755f (cherry picked from commit be8d99c228a76e70a19c1122aabe111c25a2121c)