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