framePtr = fp;
maps      = ((VM_BaselineCompiledMethod)compiledMethod).referenceMaps; mapId     = maps.locateGCPoint(instructionOffset, currentMethod); mapOffset = 0; if (mapId < 0) {  VM_ReferenceMaps.jsrLock.lock(); maps.setupJSRSubroutineMap( framePtr, mapId, compiledMethod); } if (VM.TraceStkMaps) { VM.sysWrite("VM_BaselineGCMapIterator setupIterator mapId = "); VM.sysWrite(mapId); VM.sysWrite(" for "); VM.sysWrite(currentMethod); VM.sysWrite(".\n"); }
   setupIterator(VM_CompiledMethod compiledMethod, int instructionOffset, VM_Address fp)      {      currentMethod = compiledMethod.getMethod();   // VM.sysWrite("setupIterator: method="); VM.sysWrite(currentMethod); VM.sysWrite("\n");            // setup superclass      //      framePtr = fp;            // setup stackframe mapping      //      maps      = ((VM_BaselineCompiledMethod)compiledMethod).referenceMaps;      mapId     = maps.locateGCPoint(instructionOffset, currentMethod);      mapOffset = 0;      if (mapId < 0) {         // lock the jsr lock to serialize jsr processing         VM_ReferenceMaps.jsrLock.lock();         maps.setupJSRSubroutineMap( framePtr, mapId, compiledMethod);      }      if (VM.TraceStkMaps) {         VM.sysWrite("VM_BaselineGCMapIterator setupIterator mapId = ");         VM.sysWrite(mapId);         VM.sysWrite(" for ");	 VM.sysWrite(currentMethod);	 VM.sysWrite(".\n");      }            // setup dynamic bridge mapping      //      bridgeTarget                   = null;      bridgeParameterTypes           = null;      bridgeParameterMappingRequired = false;      bridgeRegistersLocationUpdated = false;      bridgeParameterIndex           = 0;      bridgeRegisterIndex            = 0;      bridgeRegisterLocation         = VM_Address.zero();      if (currentMethod.getDeclaringClass().isDynamicBridge())         {                           fp                       = VM_Magic.getCallerFramePointer(fp);	 VM_Address        ip                       = VM_Magic.getNextInstructionAddress(fp);         int               callingCompiledMethodId  = VM_Magic.getCompiledMethodID(fp);         VM_CompiledMethod callingCompiledMethod    = VM_CompiledMethods.getCompiledMethod(callingCompiledMethodId);         int               callingInstructionOffset = ip.diff(VM_Magic.objectAsAddress(callingCompiledMethod.getInstructions()));         callingCompiledMethod.getDynamicLink(dynamicLink, callingInstructionOffset);         bridgeTarget                = dynamicLink.methodRef();         bridgeParameterInitialIndex = dynamicLink.isInvokedWithImplicitThisParameter() ? -1 : 0;         bridgeParameterTypes        = bridgeTarget.getParameterTypes();         }              reset();      }