unsigned CallFrame::callSiteBitsAsBytecodeOffset() const { ASSERT(codeBlock()); ASSERT(callSiteBitsAreBytecodeOffset()); return currentVPC() - codeBlock()->instructions().begin(); }
unsigned CallFrame::bytecodeOffsetForNonDFGCode() const { ASSERT(codeBlock()); return currentVPC() - codeBlock()->instructions().begin(); }
unsigned CallFrame::locationAsBytecodeOffset() const { ASSERT(codeBlock()); ASSERT(hasLocationAsBytecodeOffset()); return currentVPC() - codeBlock()->instructions().begin(); }