summaryrefslogtreecommitdiffstats
path: root/vm/compiler/CompilerIR.h
diff options
context:
space:
mode:
authorBen Cheng <bccheng@android.com>2010-03-24 15:24:19 -0700
committerBen Cheng <bccheng@android.com>2010-03-24 15:33:26 -0700
commit11d8f14eef83d1b7bfa8f116de56a92d5ba9e71e (patch)
tree9fb56691082e14ac532c9e3da2d0e5803dde0754 /vm/compiler/CompilerIR.h
parentb7b9be1343b59b429b6de9b28ffffbbbde8478c2 (diff)
downloadandroid_dalvik-11d8f14eef83d1b7bfa8f116de56a92d5ba9e71e.tar.gz
android_dalvik-11d8f14eef83d1b7bfa8f116de56a92d5ba9e71e.tar.bz2
android_dalvik-11d8f14eef83d1b7bfa8f116de56a92d5ba9e71e.zip
Fix for the JIT blocking mode plus some code cleanup.
Bug: 2517606 Change-Id: I2b5aa92ceaf23d484329330ae20de5966704280b
Diffstat (limited to 'vm/compiler/CompilerIR.h')
-rw-r--r--vm/compiler/CompilerIR.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/vm/compiler/CompilerIR.h b/vm/compiler/CompilerIR.h
index 00a45f920..2bf243d6e 100644
--- a/vm/compiler/CompilerIR.h
+++ b/vm/compiler/CompilerIR.h
@@ -184,6 +184,12 @@ typedef struct CompilationUnit {
const u2 *switchOverflowPad;
} CompilationUnit;
+#if defined(WITH_SELF_VERIFICATION)
+#define HEAP_ACCESS_SHADOW(_state) cUnit->heapMemOp = _state
+#else
+#define HEAP_ACCESS_SHADOW(_state)
+#endif
+
BasicBlock *dvmCompilerNewBB(BBType blockType);
void dvmCompilerAppendMIR(BasicBlock *bb, MIR *mir);