OSDN Git Service

ART: Fix GenInlined functions
authorChao-ying Fu <chao-ying.fu@intel.com>
Mon, 19 Jan 2015 23:51:57 +0000 (15:51 -0800)
committerChao-ying Fu <chao-ying.fu@intel.com>
Thu, 22 Jan 2015 00:00:24 +0000 (16:00 -0800)
commitff87d7bdc2c06bece8ea783dd4979360f1d51103
tree5656d0fdb9555e61476857785a665e861a619817
parent59add47cabce3735ccd470cd3b5dac8b112e09ab
ART: Fix GenInlined functions

This patch fixes Mir2Lir::GenInlinedReverseBytes,
Mir2Lir::GenInlinedAbsInt, Mir2Lir::GenInlinedAbsLong,
Mir2Lir::GenInlinedFloatCvt, Mir2Lir::GenInlinedDoubleCvt,
X86Mir2Lir::GenInlinedSqrt, X86Mir2Lir::GenInlinedMinMaxFP,
X86Mir2Lir::GenInlinedMinMax, X86Mir2Lir::GenInlinedPeek,
and X86Mir2Lir::GenInlinedReverseBits to generate no code, when results
are unused.
New calls without assignments are added to 082-inline-execute.

Change-Id: I7076e9ddbea43545315f2aeb677c63a8a6e95224
Signed-off-by: Chao-ying Fu <chao-ying.fu@intel.com>
compiler/dex/quick/gen_invoke.cc
compiler/dex/quick/x86/fp_x86.cc
compiler/dex/quick/x86/int_x86.cc
test/082-inline-execute/src/Main.java