Title: [182083] trunk/Source/_javascript_Core
Revision
182083
Author
[email protected]
Date
2015-03-27 14:56:35 -0700 (Fri, 27 Mar 2015)

Log Message

Add back previously broken assert from bug 141869
https://bugs.webkit.org/show_bug.cgi?id=143005

Reviewed by Michael Saboff.

* runtime/ExceptionHelpers.cpp:
(JSC::invalidParameterInSourceAppender):

Modified Paths

Diff

Modified: trunk/Source/_javascript_Core/ChangeLog (182082 => 182083)


--- trunk/Source/_javascript_Core/ChangeLog	2015-03-27 21:38:43 UTC (rev 182082)
+++ trunk/Source/_javascript_Core/ChangeLog	2015-03-27 21:56:35 UTC (rev 182083)
@@ -1,3 +1,13 @@
+2015-03-27  Saam Barati  <[email protected]>
+
+        Add back previously broken assert from bug 141869
+        https://bugs.webkit.org/show_bug.cgi?id=143005
+
+        Reviewed by Michael Saboff.
+
+        * runtime/ExceptionHelpers.cpp:
+        (JSC::invalidParameterInSourceAppender):
+
 2015-03-26  Geoffrey Garen  <[email protected]>
 
         Make some more objects use FastMalloc

Modified: trunk/Source/_javascript_Core/runtime/ExceptionHelpers.cpp (182082 => 182083)


--- trunk/Source/_javascript_Core/runtime/ExceptionHelpers.cpp	2015-03-27 21:38:43 UTC (rev 182082)
+++ trunk/Source/_javascript_Core/runtime/ExceptionHelpers.cpp	2015-03-27 21:56:35 UTC (rev 182083)
@@ -206,8 +206,10 @@
     return builder.toString();
 }
 
-static String invalidParameterInSourceAppender(const String& originalMessage, const String& sourceText, RuntimeType, ErrorInstance::SourceTextWhereErrorOccurred occurrence)
+static String invalidParameterInSourceAppender(const String& originalMessage, const String& sourceText, RuntimeType type, ErrorInstance::SourceTextWhereErrorOccurred occurrence)
 {
+    ASSERT_UNUSED(type, type != TypeObject);
+
     if (occurrence == ErrorInstance::FoundApproximateSource)
         return defaultApproximateSourceError(originalMessage, sourceText);
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to