summaryrefslogtreecommitdiffstats
path: root/runtime/interpreter/mterp/mterp.cc
diff options
context:
space:
mode:
authorAlexey Frunze <Alexey.Frunze@imgtec.com>2016-03-03 17:50:48 -0800
committerAlexey Frunze <Alexey.Frunze@imgtec.com>2016-03-03 17:50:48 -0800
commitdb045bea24d28ce6ad932fec4ce055af7be530e2 (patch)
tree15a98fb8db56d9cce44d91a9879976f9f869b0bc /runtime/interpreter/mterp/mterp.cc
parente4cec517faf1c74d6895e0e5b512a6e2f83a0e06 (diff)
downloadart-db045bea24d28ce6ad932fec4ce055af7be530e2.tar.gz
art-db045bea24d28ce6ad932fec4ce055af7be530e2.tar.bz2
art-db045bea24d28ce6ad932fec4ce055af7be530e2.zip
ART: Enable JitProfiling for MIPS64 Mterp
Change-Id: I46bdbfd706569ebbb1d1b08b9060ff01518d0f3a
Diffstat (limited to 'runtime/interpreter/mterp/mterp.cc')
-rw-r--r--runtime/interpreter/mterp/mterp.cc11
1 files changed, 1 insertions, 10 deletions
diff --git a/runtime/interpreter/mterp/mterp.cc b/runtime/interpreter/mterp/mterp.cc
index ca727f47be..10b19c5f4f 100644
--- a/runtime/interpreter/mterp/mterp.cc
+++ b/runtime/interpreter/mterp/mterp.cc
@@ -147,16 +147,7 @@ extern "C" bool MterpShouldSwitchInterpreters()
SHARED_REQUIRES(Locks::mutator_lock_) {
const instrumentation::Instrumentation* const instrumentation =
Runtime::Current()->GetInstrumentation();
- bool unhandled_instrumentation;
- // TODO: enable for other targets after more extensive testing.
- if ((kRuntimeISA == kArm64) || (kRuntimeISA == kArm) ||
- (kRuntimeISA == kX86_64) || (kRuntimeISA == kX86) ||
- (kRuntimeISA == kMips)) {
- unhandled_instrumentation = instrumentation->NonJitProfilingActive();
- } else {
- unhandled_instrumentation = instrumentation->IsActive();
- }
- return unhandled_instrumentation || Dbg::IsDebuggerActive();
+ return instrumentation->NonJitProfilingActive() || Dbg::IsDebuggerActive();
}