summaryrefslogtreecommitdiff
path: root/src/compiler/CompilerIR.h
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2012-09-19 13:33:42 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2012-09-20 15:26:35 -0700
commit0c7abda482f53db3d153c073d1c7a145f84e0626 (patch)
tree837b89c75f0047cbcd16c9121739069a36b4f22a /src/compiler/CompilerIR.h
parentba0b9c55adce3f533845ab1b25c552589e5b4118 (diff)
NativePcOffsetToReferenceMap
Rather than translate a native PC to a Dex PC and then to the reference bitmap, just go straight from the native PC to the reference bitmap. Encode the native PC offsets using a hash rather than linearly searching. Change-Id: Iee1073d93c941c0a31f639e5f23cea9e9f747bee
Diffstat (limited to 'src/compiler/CompilerIR.h')
-rw-r--r--src/compiler/CompilerIR.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/CompilerIR.h b/src/compiler/CompilerIR.h
index f7b1bc6ac1..c5bbae6283 100644
--- a/src/compiler/CompilerIR.h
+++ b/src/compiler/CompilerIR.h
@@ -472,6 +472,7 @@ struct CompilationUnit {
std::vector<uint32_t> mappingTable;
std::vector<uint32_t> coreVmapTable;
std::vector<uint32_t> fpVmapTable;
+ std::vector<uint8_t> nativeGcMap;
bool genDebugger; // Generate code for debugger
bool printMe;
bool hasClassLiterals; // Contains class ptrs used as literals