OSDN Git Service

Fix duplicate checks in JNI macro assemblers.
authorVladimir Marko <vmarko@google.com>
Fri, 12 Aug 2016 13:26:15 +0000 (14:26 +0100)
committerVladimir Marko <vmarko@google.com>
Fri, 12 Aug 2016 13:30:44 +0000 (14:30 +0100)
commit2b3201a04dd7894dc916bc59e5a52427e4d1a3b2
tree523549575272d006bd4a9d231c183b5e6c577f2c
parentdce74be0c49e8a540affc0b5649a9cf8756b809b
Fix duplicate checks in JNI macro assemblers.

Instead of checking one register twice, check the other
register passed to the function.

Test: Run ART test suite on host and Nexus 5.
Bug: 30739460
Change-Id: If868ea14f5c192982488ed065b279a019b5b7cf4
compiler/utils/arm/jni_macro_assembler_arm.cc
compiler/utils/x86_64/jni_macro_assembler_x86_64.cc