diff options
author | 2015-12-28 09:54:29 -0800 | |
---|---|---|
committer | 2015-12-28 09:57:13 -0800 | |
commit | e6d0d8de85f79c8702ee722a04cd89ee7e89aeb7 (patch) | |
tree | 66fdb4f09ffe5d62f491f53b9d311ea3e7349f71 /compiler/optimizing/intrinsics.h | |
parent | 095b1df3d20e806ed7ad8c545b03866c1561d1f6 (diff) |
ART: Disable Math.round intrinsics
The move to OpenJDK means that Android has caught up with the
definition change of Math.round. Disable intrinsics.
Bug: 26327751
Change-Id: I00dc6cfca12bd7c95e56a4ab76ffee707d3822dc
Diffstat (limited to 'compiler/optimizing/intrinsics.h')
-rw-r--r-- | compiler/optimizing/intrinsics.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/optimizing/intrinsics.h b/compiler/optimizing/intrinsics.h index e459516e59..a6db1e8e2a 100644 --- a/compiler/optimizing/intrinsics.h +++ b/compiler/optimizing/intrinsics.h @@ -27,6 +27,9 @@ namespace art { class CompilerDriver; class DexFile; +// Temporary measure until we have caught up with the Java 7 definition of Math.round. b/26327751 +static constexpr bool kRoundIsPlusPointFive = false; + // Recognize intrinsics from HInvoke nodes. class IntrinsicsRecognizer : public HOptimization { public: |