Consolidate curFrame fields in thread storage
We ended up with two locations in the Thread structure for saved
Dalvik frame pointer. This change consolidates them.
Change-Id: I78f288e4e57e232f29663be930101e775bfe370f
diff --git a/vm/alloc/Copying.cpp b/vm/alloc/Copying.cpp
index fca8ae7..f36fc89 100644
--- a/vm/alloc/Copying.cpp
+++ b/vm/alloc/Copying.cpp
@@ -1526,7 +1526,7 @@
bool first = true;
#endif
- framePtr = (const u4 *)thread->curFrame;
+ framePtr = (const u4 *)thread->interpSave.curFrame;
while (framePtr != NULL) {
const StackSaveArea *saveArea;
const Method *method;
@@ -1752,7 +1752,7 @@
Object *obj;
saveArea = NULL;
- framePtr = (const u4 *)thread->curFrame;
+ framePtr = (const u4 *)thread->interpSave.curFrame;
for (; framePtr != NULL; framePtr = saveArea->prevFrame) {
saveArea = SAVEAREA_FROM_FP(framePtr);
method = (Method *)saveArea->method;
diff --git a/vm/alloc/Visit.cpp b/vm/alloc/Visit.cpp
index b329595..7f949f6 100644
--- a/vm/alloc/Visit.cpp
+++ b/vm/alloc/Visit.cpp
@@ -87,7 +87,7 @@
assert(thread != NULL);
u4 threadId = thread->threadId;
const StackSaveArea *saveArea;
- for (u4 *fp = (u4 *)thread->curFrame;
+ for (u4 *fp = (u4 *)thread->interpSave.curFrame;
fp != NULL;
fp = (u4 *)saveArea->prevFrame) {
Method *method;