View | Details | Raw Unified | Return to bug 220396 | Differences between
and this patch

Collapse All | Expand All

(-)src/3rdparty/webkit/Source/JavaScriptCore/runtime/JSGlobalData.cpp (-1 / +1 lines)
Lines 121-127 Link Here
121
{
121
{
122
    // Enough storage to fit a JSArray, JSByteArray, JSString, or JSFunction.
122
    // Enough storage to fit a JSArray, JSByteArray, JSString, or JSFunction.
123
    // COMPILE_ASSERTS below check that this is true.
123
    // COMPILE_ASSERTS below check that this is true.
124
    char storage[64];
124
    char storage[128];
125
125
126
    COMPILE_ASSERT(sizeof(JSArray) <= sizeof(storage), sizeof_JSArray_must_be_less_than_storage);
126
    COMPILE_ASSERT(sizeof(JSArray) <= sizeof(storage), sizeof_JSArray_must_be_less_than_storage);
127
    JSCell* jsArray = new (storage) JSArray(JSArray::VPtrStealingHack);
127
    JSCell* jsArray = new (storage) JSArray(JSArray::VPtrStealingHack);

Return to bug 220396