Title: [231904] trunk/Source/_javascript_Core
Revision
231904
Author
sbar...@apple.com
Date
2018-05-17 09:16:59 -0700 (Thu, 17 May 2018)

Log Message

Unreviewed. Fix the build after my attempted build fix broke the build.

* builtins/BuiltinExecutables.cpp:
(JSC::BuiltinExecutables::defaultConstructorSourceCode):
(JSC::BuiltinExecutables::createDefaultConstructor):
* builtins/BuiltinExecutables.h:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (231903 => 231904)


--- trunk/Source/_javascript_Core/ChangeLog	2018-05-17 16:12:35 UTC (rev 231903)
+++ trunk/Source/_javascript_Core/ChangeLog	2018-05-17 16:16:59 UTC (rev 231904)
@@ -1,3 +1,12 @@
+2018-05-17  Saam Barati  <sbar...@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....@gmail.com>
 
         [JSC] Remove reifyPropertyNameIfNeeded

Modified: trunk/Source/_javascript_Core/builtins/BuiltinExecutables.cpp (231903 => 231904)


--- trunk/Source/_javascript_Core/builtins/BuiltinExecutables.cpp	2018-05-17 16:12:35 UTC (rev 231903)
+++ trunk/Source/_javascript_Core/builtins/BuiltinExecutables.cpp	2018-05-17 16:16:59 UTC (rev 231904)
@@ -42,7 +42,7 @@
 {
 }
 
-const SourceCode& BuiltinExecutables::defaultConstructorSourceCode(ConstructorKind constructorKind)
+SourceCode BuiltinExecutables::defaultConstructorSourceCode(ConstructorKind constructorKind)
 {
     switch (constructorKind) {
     case ConstructorKind::None:
@@ -72,7 +72,6 @@
 
 UnlinkedFunctionExecutable* BuiltinExecutables::createDefaultConstructor(ConstructorKind constructorKind, const Identifier& name)
 {
-
     switch (constructorKind) {
     case ConstructorKind::None:
         break;

Modified: trunk/Source/_javascript_Core/builtins/BuiltinExecutables.h (231903 => 231904)


--- trunk/Source/_javascript_Core/builtins/BuiltinExecutables.h	2018-05-17 16:12:35 UTC (rev 231903)
+++ trunk/Source/_javascript_Core/builtins/BuiltinExecutables.h	2018-05-17 16:16:59 UTC (rev 231904)
@@ -49,7 +49,7 @@
     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);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to