Changeset 172808 in webkit for trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp
- Timestamp:
- Aug 20, 2014, 1:47:45 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGByteCodeParser.cpp
r172176 r172808 199 199 void emitChecks(const ConstantStructureCheckVector&); 200 200 201 Node* getScope( bool skipTop,unsigned skipCount);201 Node* getScope(unsigned skipCount); 202 202 203 203 // Prepare to parse a block. … … 2024 2024 } 2025 2025 2026 Node* ByteCodeParser::getScope( bool skipTop,unsigned skipCount)2026 Node* ByteCodeParser::getScope(unsigned skipCount) 2027 2027 { 2028 2028 Node* localBase = get(VirtualRegister(JSStack::ScopeChain)); 2029 if (skipTop) {2030 ASSERT(!inlineCallFrame());2031 localBase = addToGraph(SkipTopScope, localBase);2032 }2033 2029 for (unsigned n = skipCount; n--;) 2034 2030 localBase = addToGraph(SkipScope, localBase); … … 2930 2926 break; 2931 2927 } 2932 set(VirtualRegister(dst), 2933 getScope(m_inlineStackTop->m_codeBlock->needsActivation(), depth)); 2928 set(VirtualRegister(dst), getScope(depth)); 2934 2929 break; 2935 2930 }
Note:
See TracChangeset
for help on using the changeset viewer.