diff options
author | Alexey Frunze <Alexey.Frunze@imgtec.com> | 2016-03-03 17:50:48 -0800 |
---|---|---|
committer | Alexey Frunze <Alexey.Frunze@imgtec.com> | 2016-03-03 17:50:48 -0800 |
commit | db045bea24d28ce6ad932fec4ce055af7be530e2 (patch) | |
tree | 15a98fb8db56d9cce44d91a9879976f9f869b0bc /runtime/interpreter/mterp/mterp.cc | |
parent | e4cec517faf1c74d6895e0e5b512a6e2f83a0e06 (diff) | |
download | art-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.cc | 11 |
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(); } |