Title: [184378] trunk/Source/_javascript_Core
Revision
184378
Author
[email protected]
Date
2015-05-15 02:22:19 -0700 (Fri, 15 May 2015)

Log Message

Fix typo in function name parseFunctionParamters -> parseFunctionParameters
https://bugs.webkit.org/show_bug.cgi?id=145040

Patch by Alexandr Skachkov <[email protected]> on 2015-05-15
Reviewed by Mark Lam.

* parser/Parser.h:
* parser/Parser.cpp:

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (184377 => 184378)


--- trunk/Source/_javascript_Core/ChangeLog	2015-05-15 08:42:32 UTC (rev 184377)
+++ trunk/Source/_javascript_Core/ChangeLog	2015-05-15 09:22:19 UTC (rev 184378)
@@ -1,3 +1,13 @@
+2015-05-15  Alexandr Skachkov  <[email protected]>
+
+        Fix typo in function name parseFunctionParamters -> parseFunctionParameters
+        https://bugs.webkit.org/show_bug.cgi?id=145040
+
+        Reviewed by Mark Lam.
+
+        * parser/Parser.h:
+        * parser/Parser.cpp:
+
 2015-05-14  Filip Pizlo  <[email protected]>
 
         Remove StoreBarrierWithNullCheck, nobody ever generates this.

Modified: trunk/Source/_javascript_Core/parser/Parser.cpp (184377 => 184378)


--- trunk/Source/_javascript_Core/parser/Parser.cpp	2015-05-15 08:42:32 UTC (rev 184377)
+++ trunk/Source/_javascript_Core/parser/Parser.cpp	2015-05-15 09:22:19 UTC (rev 184378)
@@ -1310,7 +1310,7 @@
     return nullptr;
 }
 
-template <typename LexerType> template <class TreeBuilder> int Parser<LexerType>::parseFunctionParamters(TreeBuilder& context, FunctionRequirements requirements, FunctionParseMode mode, bool nameIsInContainingScope, AutoPopScopeRef& functionScope, ParserFunctionInfo<TreeBuilder>& info)
+template <typename LexerType> template <class TreeBuilder> int Parser<LexerType>::parseFunctionParameters(TreeBuilder& context, FunctionRequirements requirements, FunctionParseMode mode, bool nameIsInContainingScope, AutoPopScopeRef& functionScope, ParserFunctionInfo<TreeBuilder>& info)
 {
     if (match(IDENT)) {
         info.name = m_token.m_data.ident;
@@ -1360,7 +1360,7 @@
     const Identifier* lastFunctionName = m_lastFunctionName;
     m_lastFunctionName = nullptr;
     
-    int parametersStart = parseFunctionParamters(context, requirements, mode, nameIsInContainingScope, functionScope, info);
+    int parametersStart = parseFunctionParameters(context, requirements, mode, nameIsInContainingScope, functionScope, info);
     propagateError();
 
     matchOrFail(OPENBRACE, "Expected an opening '{' at the start of a ", stringForFunctionMode(mode), " body");

Modified: trunk/Source/_javascript_Core/parser/Parser.h (184377 => 184378)


--- trunk/Source/_javascript_Core/parser/Parser.h	2015-05-15 08:42:32 UTC (rev 184377)
+++ trunk/Source/_javascript_Core/parser/Parser.h	2015-05-15 09:22:19 UTC (rev 184378)
@@ -774,7 +774,7 @@
 
     template <class TreeBuilder> NEVER_INLINE bool parseFunctionInfo(TreeBuilder&, FunctionRequirements, FunctionParseMode, bool nameIsInContainingScope, ConstructorKind, SuperBinding, int functionKeywordStart, ParserFunctionInfo<TreeBuilder>&);
     
-    template <class TreeBuilder> NEVER_INLINE int parseFunctionParamters(TreeBuilder&, FunctionRequirements, FunctionParseMode, bool, AutoPopScopeRef&, ParserFunctionInfo<TreeBuilder>&);
+    template <class TreeBuilder> NEVER_INLINE int parseFunctionParameters(TreeBuilder&, FunctionRequirements, FunctionParseMode, bool, AutoPopScopeRef&, ParserFunctionInfo<TreeBuilder>&);
 
 #if ENABLE(ES6_CLASS_SYNTAX)
     template <class TreeBuilder> NEVER_INLINE TreeClassExpression parseClass(TreeBuilder&, FunctionRequirements, ParserClassInfo<TreeBuilder>&);
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to