Changeset 192882 in webkit for trunk/Source/JavaScriptCore/bytecode/UnlinkedFunctionExecutable.cpp
- Timestamp:
- Dec 1, 2015, 6:39:58 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/bytecode/UnlinkedFunctionExecutable.cpp
r192876 r192882 68 68 69 69 UnlinkedFunctionCodeBlock* result = UnlinkedFunctionCodeBlock::create(&vm, FunctionCode, 70 ExecutableInfo(function->needsActivation(), function->usesEval(), function->isStrictMode(), kind == CodeForConstruct, functionKind == UnlinkedBuiltinFunction, executable->constructorKind(), isArrowFunction , executable->isDerivedConstructorContext(), false));70 ExecutableInfo(function->needsActivation(), function->usesEval(), function->isStrictMode(), kind == CodeForConstruct, functionKind == UnlinkedBuiltinFunction, executable->constructorKind(), isArrowFunction)); 71 71 auto generator(std::make_unique<BytecodeGenerator>(vm, function.get(), result, debuggerMode, profilerMode, executable->parentScopeTDZVariables())); 72 72 error = generator->generate(); … … 76 76 } 77 77 78 UnlinkedFunctionExecutable::UnlinkedFunctionExecutable(VM* vm, Structure* structure, const SourceCode& source, RefPtr<SourceProvider>&& sourceOverride, FunctionMetadataNode* node, UnlinkedFunctionKind kind, ConstructAbility constructAbility, VariableEnvironment& parentScopeTDZVariables , bool isDerivedConstructorContext)78 UnlinkedFunctionExecutable::UnlinkedFunctionExecutable(VM* vm, Structure* structure, const SourceCode& source, RefPtr<SourceProvider>&& sourceOverride, FunctionMetadataNode* node, UnlinkedFunctionKind kind, ConstructAbility constructAbility, VariableEnvironment& parentScopeTDZVariables) 79 79 : Base(*vm, structure) 80 80 , m_name(node->ident()) … … 101 101 , m_functionMode(node->functionMode()) 102 102 , m_isArrowFunction(node->isArrowFunction()) 103 , m_isDerivedConstructorContext(isDerivedConstructorContext)104 103 { 105 104 ASSERT(m_constructorKind == static_cast<unsigned>(node->constructorKind()));
Note:
See TracChangeset
for help on using the changeset viewer.