Ignore:
Timestamp:
Jan 20, 2015, 2:43:06 PM (10 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r178751.
https://bugs.webkit.org/show_bug.cgi?id=140694

Caused 32-bit JSC test failures (Requested by JoePeck on
#webkit).

Reverted changeset:

"put_by_val_direct need to check the property is index or not
for using putDirect / putDirectIndex"
https://bugs.webkit.org/show_bug.cgi?id=140426
http://trac.webkit.org/changeset/178751

File:
1 edited

Legend:

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

    r178751 r178756  
    120120    VM& vm = exec->vm();
    121121
    122     if (Optional<uint32_t> index = propertyName.asIndex()) {
    123         putToPrimitiveByIndex(exec, index.value(), value, slot.isStrictMode());
     122    unsigned index = propertyName.asIndex();
     123    if (index != PropertyName::NotAnIndex) {
     124        putToPrimitiveByIndex(exec, index, value, slot.isStrictMode());
    124125        return;
    125126    }
Note: See TracChangeset for help on using the changeset viewer.