summaryrefslogtreecommitdiffstats
path: root/runtime/parsed_options.h
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2014-07-11 08:26:40 +0000
committerNicolas Geoffray <ngeoffray@google.com>2014-07-11 08:26:40 +0000
commit0025a86411145eb7cd4971f9234fc21c7b4aced1 (patch)
tree933b8b96ea970c23a7b3ce313c7c6d46f807dadd /runtime/parsed_options.h
parent7fb36ded9cd5b1d254b63b3091f35c1e6471b90e (diff)
downloadandroid_art-0025a86411145eb7cd4971f9234fc21c7b4aced1.tar.gz
android_art-0025a86411145eb7cd4971f9234fc21c7b4aced1.tar.bz2
android_art-0025a86411145eb7cd4971f9234fc21c7b4aced1.zip
Revert "Revert "Revert "Add implicit null and stack checks for x86"""
Broke the build. This reverts commit 7fb36ded9cd5b1d254b63b3091f35c1e6471b90e. Change-Id: I9df0e7446ff0913a0e1276a558b2ccf6c8f4c949
Diffstat (limited to 'runtime/parsed_options.h')
-rw-r--r--runtime/parsed_options.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/parsed_options.h b/runtime/parsed_options.h
index fe719b10db..d0f3c125c7 100644
--- a/runtime/parsed_options.h
+++ b/runtime/parsed_options.h
@@ -84,6 +84,11 @@ class ParsedOptions {
bool verify_;
InstructionSet image_isa_;
+ static constexpr uint32_t kExplicitNullCheck = 1;
+ static constexpr uint32_t kExplicitSuspendCheck = 2;
+ static constexpr uint32_t kExplicitStackOverflowCheck = 4;
+ uint32_t explicit_checks_;
+
private:
ParsedOptions() {}