Don't fork dex2oat process on target device.

Change-Id: I35370d328aaa1aaaed5b56e62e51c4c74afa9cba
diff --git a/src/compiler.h b/src/compiler.h
index 9b8a3ab..c0732aa 100644
--- a/src/compiler.h
+++ b/src/compiler.h
@@ -176,6 +176,10 @@
     return compiler_context_;
   }
 
+  size_t GetThreadCount() const {
+    return thread_count_;
+  }
+
   class PatchInformation {
    public:
     DexCache* GetDexCache() const {