OSDN Git Service

Quick: Remove broken Mir2Lir::LocToRegClass().
authorVladimir Marko <vmarko@google.com>
Wed, 22 Apr 2015 10:51:52 +0000 (11:51 +0100)
committerVladimir Marko <vmarko@google.com>
Wed, 22 Apr 2015 12:20:21 +0000 (13:20 +0100)
commitfac10700fd99516e8a14f751fe35553021ce6982
tree38030555c6644ee7207daafad81563c34ad3c208
parentf888d5d6584efb66ecd9eed94879679a65712336
Quick: Remove broken Mir2Lir::LocToRegClass().

Its use in intrinsics has been bogus. In all other instances
it's been used under the assumption that the inferred type
matches the return type of associated calls. However, if the
type inference identifies a type mismatch, the assumption
doesn't hold and there isn't necessarily a valid value that
the function could reasonably return.

Bug: 19918641
Change-Id: I050934e6f9eb00427d0b888ee29ae9eeb509bb3f
compiler/dex/quick/arm/fp_arm.cc
compiler/dex/quick/arm/int_arm.cc
compiler/dex/quick/dex_file_method_inliner.cc
compiler/dex/quick/gen_common.cc
compiler/dex/quick/gen_invoke.cc
compiler/dex/quick/mir_to_lir.cc
compiler/dex/quick/mir_to_lir.h
compiler/dex/quick/x86/fp_x86.cc
compiler/dex/quick/x86/int_x86.cc