diff options
author | Yixin Shou <yixin.shou@intel.com> | 2014-02-07 05:09:30 -0800 |
---|---|---|
committer | Yixin Shou <yixin.shou@intel.com> | 2014-02-07 10:08:44 -0800 |
commit | dbb17e378b538133750e56375bbdbb217db7b248 (patch) | |
tree | 59b7ae146e75809532fdbd43b4ef177be310b772 /compiler/dex/quick/dex_file_method_inliner.h | |
parent | 90ea00c30f5dd1a7c2934417ac5ec7d116ceb93d (diff) | |
download | art-dbb17e378b538133750e56375bbdbb217db7b248.tar.gz art-dbb17e378b538133750e56375bbdbb217db7b248.tar.bz2 art-dbb17e378b538133750e56375bbdbb217db7b248.zip |
Added inlined abs method with float and double type
This patch added the implementation for inlining java.lang.Math.abs()
method with float and double type.
Change-Id: Ic99471b4ab4176e4a0153bef383bb49944fb636f
Signed-off-by: Yixin Shou <yixin.shou@intel.com>
Diffstat (limited to 'compiler/dex/quick/dex_file_method_inliner.h')
-rw-r--r-- | compiler/dex/quick/dex_file_method_inliner.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/dex/quick/dex_file_method_inliner.h b/compiler/dex/quick/dex_file_method_inliner.h index 6e81303f9d..d815877a22 100644 --- a/compiler/dex/quick/dex_file_method_inliner.h +++ b/compiler/dex/quick/dex_file_method_inliner.h @@ -36,6 +36,8 @@ enum InlineMethodOpcode : uint16_t { kIntrinsicReverseBytes, kIntrinsicAbsInt, kIntrinsicAbsLong, + kIntrinsicAbsFloat, + kIntrinsicAbsDouble, kIntrinsicMinMaxInt, kIntrinsicSqrt, kIntrinsicCharAt, @@ -261,6 +263,7 @@ class DexFileMethodInliner { kProtoCacheJ_J, kProtoCacheS_S, kProtoCacheD_D, + kProtoCacheF_F, kProtoCacheD_J, kProtoCacheJ_D, kProtoCacheF_I, |