Model resource usage for each Thumb/Thumb2 instrution.
This is an mid-point checkin to avoid future merge nightmare for the register
allocator work.
diff --git a/vm/compiler/Compiler.c b/vm/compiler/Compiler.c
index 203a080..47881ca 100644
--- a/vm/compiler/Compiler.c
+++ b/vm/compiler/Compiler.c
@@ -21,7 +21,6 @@
#include "interp/Jit.h"
#include "CompilerInternals.h"
-
static inline bool workQueueLength(void)
{
return gDvmJit.compilerQueueLength;
@@ -228,6 +227,11 @@
/* Track method-level compilation statistics */
gDvmJit.methodStatsTable = dvmHashTableCreate(32, NULL);
+ /*
+ * FIXME - temporarily disable optimizations for this intermediate checkin
+ */
+ gDvmJit.disableOpt = 0x3;
+
dvmUnlockMutex(&gDvmJit.compilerLock);
return true;