summaryrefslogtreecommitdiffstats
path: root/dex2oat
diff options
context:
space:
mode:
authorDave Allison <dallison@google.com>2014-05-29 08:20:04 -0700
committerDave Allison <dallison@google.com>2014-07-09 16:19:59 -0700
commit34e826ccc80dc1cf7c4c045de6b7f8360d504ccf (patch)
tree76901cff2cddd6d30cb7a4e83ad4e0c9bb673fe1 /dex2oat
parentc21dc06adc8c8447561208a3fb72ccf6d0443613 (diff)
downloadart-34e826ccc80dc1cf7c4c045de6b7f8360d504ccf.zip
art-34e826ccc80dc1cf7c4c045de6b7f8360d504ccf.tar.gz
art-34e826ccc80dc1cf7c4c045de6b7f8360d504ccf.tar.bz2
Add implicit null and stack checks for x86
This adds compiler and runtime changes for x86 implicit checks. 32 bit only. Both host and target are supported. By default, on the host, the implicit checks are null pointer and stack overflow. Suspend is implemented but not switched on. Change-Id: I88a609e98d6bf32f283eaa4e6ec8bbf8dc1df78a
Diffstat (limited to 'dex2oat')
-rw-r--r--dex2oat/dex2oat.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/dex2oat/dex2oat.cc b/dex2oat/dex2oat.cc
index 80e7724..8800d18 100644
--- a/dex2oat/dex2oat.cc
+++ b/dex2oat/dex2oat.cc
@@ -738,6 +738,7 @@ void CheckExplicitCheckOptions(InstructionSet isa, bool* explicit_null_checks,
switch (isa) {
case kArm:
case kThumb2:
+ case kX86:
break; // All checks implemented, leave as is.
default: // No checks implemented, reset all to explicit checks.