Changeset 209725 in webkit for trunk/Source/JavaScriptCore/interpreter/ShadowChicken.cpp
- Timestamp:
- Dec 12, 2016, 1:46:45 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/interpreter/ShadowChicken.cpp
r209696 r209725 298 298 bool isTailDeleted = false; 299 299 JSScope* scope = nullptr; 300 JSValue thisValue = jsUndefined(); 300 301 CodeBlock* codeBlock = callFrame->codeBlock(); 301 if (codeBlock && codeBlock->wasCompiledWithDebuggingOpcodes() && codeBlock->scopeRegister().isValid()) { 302 scope = callFrame->scope(codeBlock->scopeRegister().offset()); 303 RELEASE_ASSERT(scope->inherits(JSScope::info())); 302 if (codeBlock && codeBlock->wasCompiledWithDebuggingOpcodes()) { 303 if (codeBlock->scopeRegister().isValid()) { 304 scope = callFrame->scope(codeBlock->scopeRegister().offset()); 305 RELEASE_ASSERT(scope->inherits(JSScope::info())); 306 } 307 thisValue = callFrame->thisValue(); 304 308 } else if (foundFrame) { 305 scope = m_log[indexInLog].scope; 306 if (scope) 307 RELEASE_ASSERT(scope->inherits(JSScope::info())); 308 } 309 toPush.append(Frame(jsCast<JSObject*>(visitor->callee()), callFrame, isTailDeleted, callFrame->thisValue(), scope, codeBlock, callFrame->callSiteIndex())); 309 if (!scope) { 310 scope = m_log[indexInLog].scope; 311 if (scope) 312 RELEASE_ASSERT(scope->inherits(JSScope::info())); 313 } 314 if (thisValue.isUndefined()) 315 thisValue = m_log[indexInLog].thisValue; 316 } 317 toPush.append(Frame(jsCast<JSObject*>(visitor->callee()), callFrame, isTailDeleted, thisValue, scope, codeBlock, callFrame->callSiteIndex())); 310 318 311 319 if (indexInLog < logCursorIndex
Note:
See TracChangeset
for help on using the changeset viewer.