Changeset 182083 in webkit


Ignore:
Timestamp:
Mar 27, 2015 2:56:35 PM (9 years ago)
Author:
saambarati1@gmail.com
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):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r182068 r182083  
     12015-03-27  Saam Barati  <saambarati1@gmail.com>
     2
     3        Add back previously broken assert from bug 141869
     4        https://bugs.webkit.org/show_bug.cgi?id=143005
     5
     6        Reviewed by Michael Saboff.
     7
     8        * runtime/ExceptionHelpers.cpp:
     9        (JSC::invalidParameterInSourceAppender):
     10
    1112015-03-26  Geoffrey Garen  <ggaren@apple.com>
    212
  • trunk/Source/JavaScriptCore/runtime/ExceptionHelpers.cpp

    r181890 r182083  
    207207}
    208208
    209 static String invalidParameterInSourceAppender(const String& originalMessage, const String& sourceText, RuntimeType, ErrorInstance::SourceTextWhereErrorOccurred occurrence)
    210 {
     209static String invalidParameterInSourceAppender(const String& originalMessage, const String& sourceText, RuntimeType type, ErrorInstance::SourceTextWhereErrorOccurred occurrence)
     210{
     211    ASSERT_UNUSED(type, type != TypeObject);
     212
    211213    if (occurrence == ErrorInstance::FoundApproximateSource)
    212214        return defaultApproximateSourceError(originalMessage, sourceText);
Note: See TracChangeset for help on using the changeset viewer.