* builtins/BuiltinExecutables.cpp:
(JSC::BuiltinExecutables::defaultConstructorSourceCode):
(JSC::BuiltinExecutables::createDefaultConstructor):
* builtins/BuiltinExecutables.h:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@231904
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2018-05-17 Saam Barati <sbarati@apple.com>
+
+ Unreviewed. Fix the build after my attempted build fix broke the build.
+
+ * builtins/BuiltinExecutables.cpp:
+ (JSC::BuiltinExecutables::defaultConstructorSourceCode):
+ (JSC::BuiltinExecutables::createDefaultConstructor):
+ * builtins/BuiltinExecutables.h:
+
2018-05-17 Yusuke Suzuki <utatane.tea@gmail.com>
[JSC] Remove reifyPropertyNameIfNeeded
{
}
-const SourceCode& BuiltinExecutables::defaultConstructorSourceCode(ConstructorKind constructorKind)
+SourceCode BuiltinExecutables::defaultConstructorSourceCode(ConstructorKind constructorKind)
{
switch (constructorKind) {
case ConstructorKind::None:
UnlinkedFunctionExecutable* BuiltinExecutables::createDefaultConstructor(ConstructorKind constructorKind, const Identifier& name)
{
-
switch (constructorKind) {
case ConstructorKind::None:
break;
JSC_FOREACH_BUILTIN_CODE(EXPOSE_BUILTIN_EXECUTABLES)
#undef EXPOSE_BUILTIN_SOURCES
- static const SourceCode& defaultConstructorSourceCode(ConstructorKind);
+ static SourceCode defaultConstructorSourceCode(ConstructorKind);
UnlinkedFunctionExecutable* createDefaultConstructor(ConstructorKind, const Identifier& name);
static UnlinkedFunctionExecutable* createExecutable(VM&, const SourceCode&, const Identifier&, ConstructorKind, ConstructAbility);