Proxy methods don't have GC maps.
Fix regression caused by stack refactoring.
Change-Id: I942b6f34fb4b1f1504466b46e004d4f92f1cb167
diff --git a/src/thread.cc b/src/thread.cc
index 76dfa18..e682487 100644
--- a/src/thread.cc
+++ b/src/thread.cc
@@ -1642,7 +1642,7 @@
} else {
Method* m = GetMethod();
// Process register map (which native and runtime methods don't have)
- if (!m->IsNative() && !m->IsRuntimeMethod()) {
+ if (!m->IsNative() && !m->IsRuntimeMethod() && !m->IsProxyMethod()) {
const uint8_t* gc_map = m->GetGcMap();
CHECK(gc_map != NULL) << PrettyMethod(m);
uint32_t gc_map_length = m->GetGcMapLength();