summaryrefslogtreecommitdiffstats
path: root/runtime/entrypoints/portable/portable_thread_entrypoints.cc
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2014-11-21 16:51:29 -0800
committerMathieu Chartier <mathieuc@google.com>2014-11-24 10:44:33 -0800
commit957ca1cd025104fccb0b08928f955f9bdb4ab91c (patch)
tree913ceffe992bb25898ac79977b47dc2af8b3354b /runtime/entrypoints/portable/portable_thread_entrypoints.cc
parent4d3ed1a6f34bd31ed30faaca0433cf2a4b19bb7b (diff)
downloadart-957ca1cd025104fccb0b08928f955f9bdb4ab91c.zip
art-957ca1cd025104fccb0b08928f955f9bdb4ab91c.tar.gz
art-957ca1cd025104fccb0b08928f955f9bdb4ab91c.tar.bz2
Delete ArtMethod gc_map_ field
Moved the gc_map field from OatMethod to OatQuickMethodHeader. Deleted the ArtMethod gc_map_ field. Bug: 17643507 Change-Id: Ifa0470c3e4c2f8a319744464d94c6838b76b3d48 (cherry picked from commit 807140048f82a2b87ee5bcf337f23b6a3d1d5269)
Diffstat (limited to 'runtime/entrypoints/portable/portable_thread_entrypoints.cc')
-rw-r--r--runtime/entrypoints/portable/portable_thread_entrypoints.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/entrypoints/portable/portable_thread_entrypoints.cc b/runtime/entrypoints/portable/portable_thread_entrypoints.cc
index ecbc65e..95ac66c 100644
--- a/runtime/entrypoints/portable/portable_thread_entrypoints.cc
+++ b/runtime/entrypoints/portable/portable_thread_entrypoints.cc
@@ -34,7 +34,7 @@ class ShadowFrameCopyVisitor : public StackVisitor {
uint32_t dex_pc = cur_frame->GetDexPC();
ShadowFrame* new_frame = ShadowFrame::Create(num_regs, NULL, method, dex_pc);
- const uint8_t* gc_map = method->GetNativeGcMap();
+ const uint8_t* gc_map = method->GetNativeGcMap(sizeof(void*));
verifier::DexPcToReferenceMap dex_gc_map(gc_map);
const uint8_t* reg_bitmap = dex_gc_map.FindBitMap(dex_pc);
for (size_t reg = 0; reg < num_regs; ++reg) {