OSDN Git Service

not-int can also take non-int (byte and short) instructions.
authorNicolas Geoffray <ngeoffray@google.com>
Tue, 24 Feb 2015 16:02:06 +0000 (16:02 +0000)
committerNicolas Geoffray <ngeoffray@google.com>
Tue, 24 Feb 2015 16:04:07 +0000 (16:04 +0000)
commitd8ef2e991a1a65f47a26a1eb8c6b34c92b775d6b
treed3aa88b42db86584724a2566da304aff70be5613
parenta48c573d2351177d878e36e003f0cdf4d7f9328f
not-int can also take non-int (byte and short) instructions.

So we should use the result-type instead if the input type
for knowning what instruction to use.

Bug: 19454010
Change-Id: I88782ad27ae8c8e1b7868afede5057d26f14685a
compiler/optimizing/code_generator_arm.cc
compiler/optimizing/code_generator_arm64.cc
compiler/optimizing/code_generator_x86.cc
compiler/optimizing/code_generator_x86_64.cc
test/453-not-byte/expected.txt [new file with mode: 0644]
test/453-not-byte/info.txt [new file with mode: 0644]
test/453-not-byte/smali/NotByte.smali [new file with mode: 0644]
test/453-not-byte/src/Main.java [new file with mode: 0644]