New attempt at fixing mac build.
Change-Id: I00e3df55e65eb5edb4e8dd244bb7f8918dd942d4
diff --git a/runtime/utils.cc b/runtime/utils.cc
index 8083446..62af380 100644
--- a/runtime/utils.cc
+++ b/runtime/utils.cc
@@ -1090,7 +1090,6 @@
map_src.c_str(), offset));
RunCommand(cmdline.c_str(), &os, prefix);
}
-#endif
static bool PcIsWithinQuickCode(ArtMethod* method, uintptr_t pc) NO_THREAD_SAFETY_ANALYSIS {
uintptr_t code = reinterpret_cast<uintptr_t>(EntryPointToCodePointer(
@@ -1101,6 +1100,7 @@
uintptr_t code_size = reinterpret_cast<const OatQuickMethodHeader*>(code)[-1].code_size_;
return code <= pc && pc <= (code + code_size);
}
+#endif
void DumpNativeStack(std::ostream& os, pid_t tid, const char* prefix,
ArtMethod* current_method, void* ucontext_ptr) {