Restore card marking, minor tuning
Restore GC card marks that were mistakenly dropped during an
earlier retructuring. Add debugging to code to gather opcode
frequency statics. Minor tuning for code size.
Change-Id: I117f62c29e29250277166e7f005706e27998f77a
diff --git a/src/compiler/CompilerIR.h b/src/compiler/CompilerIR.h
index b512c5b..184d4db 100644
--- a/src/compiler/CompilerIR.h
+++ b/src/compiler/CompilerIR.h
@@ -320,6 +320,7 @@
bool hasLoop; // Contains a loop
bool hasInvoke; // Contains an invoke instruction
bool heapMemOp; // Mark mem ops for self verification
+ bool qdMode; // Compile for code size/compile time
bool usesLinkRegister; // For self-verification only
bool methodTraceSupport; // For TraceView profiling
struct RegisterPool* regPool;
@@ -425,6 +426,7 @@
struct ArenaMemBlock* currentArena;
int numArenaBlocks;
struct Memstats* mstats;
+ int* opcodeCount; // Count Dalvik opcodes for tuning
#ifndef NDEBUG
/*
* Sanity checking for the register temp tracking. The same ssa