Changeset 167364 in webkit


Ignore:
Timestamp:
Apr 16, 2014 11:09:56 AM (10 years ago)
Author:
mhahnenberg@apple.com
Message:

[WebKit] Cleanup the build from uninitialized variable in JavaScriptCore
https://bugs.webkit.org/show_bug.cgi?id=131728

Reviewed by Darin Adler.

  • runtime/JSObject.cpp:

(JSC::JSObject::genericConvertDoubleToContiguous): Add a RELEASE_ASSERT on the
path we expect to never take. Also shut up confused compilers about uninitialized things.

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r167354 r167364  
     12014-04-16  Mark Hahnenberg  <mhahnenberg@apple.com>
     2
     3        [WebKit] Cleanup the build from uninitialized variable in JavaScriptCore
     4        https://bugs.webkit.org/show_bug.cgi?id=131728
     5
     6        Reviewed by Darin Adler.
     7
     8        * runtime/JSObject.cpp:
     9        (JSC::JSObject::genericConvertDoubleToContiguous): Add a RELEASE_ASSERT on the
     10        path we expect to never take. Also shut up confused compilers about uninitialized things.
     11
    1122014-04-16  Filip Pizlo  <fpizlo@apple.com>
    213
  • trunk/Source/JavaScriptCore/runtime/JSObject.cpp

    r167313 r167364  
    829829        case RageConvertDoubleToValue:
    830830            v = jsNumber(value);
     831            break;
     832        default:
     833            v = JSValue();
     834            RELEASE_ASSERT_NOT_REACHED();
    831835            break;
    832836        }
Note: See TracChangeset for help on using the changeset viewer.