Changeset 195876 in webkit for trunk/Source/JavaScriptCore/bytecode/UnlinkedFunctionExecutable.cpp
- Timestamp:
- Jan 29, 2016, 6:05:17 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/UnlinkedFunctionExecutable.cpp
r195862 r195876 81 81 UnlinkedFunctionExecutable::UnlinkedFunctionExecutable(VM* vm, Structure* structure, const SourceCode& source, RefPtr<SourceProvider>&& sourceOverride, FunctionMetadataNode* node, UnlinkedFunctionKind kind, ConstructAbility constructAbility, VariableEnvironment& parentScopeTDZVariables, DerivedContextType derivedContextType) 82 82 : Base(*vm, structure) 83 , m_name(node->ident())84 , m_inferredName(node->inferredName())85 , m_sourceOverride(WTFMove(sourceOverride))86 83 , m_firstLineOffset(node->firstLine() - source.firstLine()) 87 84 , m_lineCount(node->lastLine() - node->firstLine()) … … 95 92 , m_typeProfilingEndOffset(node->startStartOffset() + node->source().length() - 1) 96 93 , m_parameterCount(node->parameterCount()) 97 , m_parseMode(node->parseMode())98 94 , m_features(0) 99 95 , m_isInStrictContext(node->isInStrictContext()) … … 105 101 , m_superBinding(static_cast<unsigned>(node->superBinding())) 106 102 , m_derivedContextType(static_cast<unsigned>(derivedContextType)) 103 , m_sourceParseMode(static_cast<unsigned>(node->parseMode())) 104 , m_name(node->ident()) 105 , m_inferredName(node->inferredName()) 106 , m_sourceOverride(WTFMove(sourceOverride)) 107 107 { 108 108 ASSERT(m_constructorKind == static_cast<unsigned>(node->constructorKind()));
Note:
See TracChangeset
for help on using the changeset viewer.