Don't use signal handlers in interpreter only mode
Bug: 15543631
Change-Id: I8f251b5a66487dce3ac3127bdf3b5bc824d0e4bc
diff --git a/runtime/runtime.cc b/runtime/runtime.cc
index ccf478c..717381c 100644
--- a/runtime/runtime.cc
+++ b/runtime/runtime.cc
@@ -574,7 +574,7 @@
break;
}
- if (implicit_checks_supported &&
+ if (!options->interpreter_only_ && implicit_checks_supported &&
(options->explicit_checks_ != (ParsedOptions::kExplicitSuspendCheck |
ParsedOptions::kExplicitNullCheck |
ParsedOptions::kExplicitStackOverflowCheck) || kEnableJavaStackTraceHandler)) {