diff options
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r-- | runtime/runtime.h | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h index a0993ca91e..9df14538e9 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -463,16 +463,8 @@ class Runtime { void AddCurrentRuntimeFeaturesAsDex2OatArguments(std::vector<std::string>* arg_vector) const; - bool ExplicitNullChecks() const { - return null_pointer_handler_ == nullptr; - } - - bool ExplicitSuspendChecks() const { - return suspend_handler_ == nullptr; - } - bool ExplicitStackOverflowChecks() const { - return stack_overflow_handler_ == nullptr; + return !implicit_so_checks_; } bool IsVerificationEnabled() const { @@ -636,9 +628,6 @@ class Runtime { // Transaction used for pre-initializing classes at compilation time. Transaction* preinitialization_transaction_; - NullPointerHandler* null_pointer_handler_; - SuspensionHandler* suspend_handler_; - StackOverflowHandler* stack_overflow_handler_; // If false, verification is disabled. True by default. bool verify_; |