Ignore:
Timestamp:
Aug 30, 2013, 10:02:48 AM (12 years ago)
Author:
[email protected]
Message:

Cleaning errorDescriptionForValue after r154839
https://bugs.webkit.org/show_bug.cgi?id=120531

Patch by Chris Curtis <[email protected]> on 2013-08-30
Reviewed by Darin Adler.

Changed the assert to ASSERT_NOT_REACHED, now that r154839 has landed. errorDescriptionForValue
can assert again that the parameterized JSValue is !isEmpty().

  • runtime/ExceptionHelpers.cpp:

(JSC::errorDescriptionForValue):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/ExceptionHelpers.cpp

    r154797 r154892  
    110110    }
    111111   
    112     ASSERT(v.isEmpty());
    113     // FIXME: https://bugs.webkit.org/show_bug.cgi?id=120080 The JSValue should never be empty in this function.
     112    // The JSValue should never be empty, so this point in the code should never be reached.
     113    ASSERT_NOT_REACHED();
    114114    return vm.smallStrings.emptyString();
    115115}
Note: See TracChangeset for help on using the changeset viewer.