OSDN Git Service

Model resource usage for each Thumb/Thumb2 instrution.
[android-x86/dalvik.git] / vm / compiler / codegen / Optimizer.h
index 432b368..0931df3 100644 (file)
 
 #include "Dalvik.h"
 
+/*
+ * If the corresponding bit is set in gDvmJit.disableOpt, the selected
+ * optimization will be suppressed.
+ */
+typedef enum optControlVector {
+    kLoadStoreElimination = 0,
+    kLoadHoisting,
+} optControlVector;
+
 /* Forward declarations */
 struct CompilationUnit;
 struct LIR;