Ignore:
Timestamp:
Mar 16, 2010, 2:07:38 PM (15 years ago)
Author:
Darin Adler
Message:

Rolled out r56081 since it broke the Windows build.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/runtime/JSONObject.cpp

    r56081 r56085  
    322322                UChar ch = data[i];
    323323                UChar hex[] = { '\\', 'u', hexDigits[(ch >> 12) & 0xF], hexDigits[(ch >> 8) & 0xF], hexDigits[(ch >> 4) & 0xF], hexDigits[ch & 0xF] };
    324                 builder.append(hex, arrayLength(hex));
     324                builder.append(hex, sizeof(hex) / sizeof(UChar));
    325325                break;
    326326        }
     
    350350
    351351    JSValue list[] = { propertyName.value(m_exec) };
    352     ArgList args(list, arrayLength(list));
     352    ArgList args(list, sizeof(list) / sizeof(JSValue));
    353353    return call(m_exec, object, callType, callData, value, args);
    354354}
     
    364364    if (m_replacerCallType != CallTypeNone) {
    365365        JSValue list[] = { propertyName.value(m_exec), value };
    366         ArgList args(list, arrayLength(list));
     366        ArgList args(list, sizeof(list) / sizeof(JSValue));
    367367        value = call(m_exec, m_replacer, m_replacerCallType, m_replacerCallData, holder, args);
    368368        if (m_exec->hadException())
Note: See TracChangeset for help on using the changeset viewer.