Ignore:
Timestamp:
May 21, 2010, 5:55:54 PM (15 years ago)
Author:
[email protected]
Message:

Unreviewed build fix.

Interpreter fix following r59974.

  • interpreter/Interpreter.cpp:

(JSC::Interpreter::privateExecute):

  • runtime/JSPropertyNameIterator.cpp:

(JSC::JSPropertyNameIterator::get):

  • runtime/JSPropertyNameIterator.h:
File:
1 edited

Legend:

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

    r59974 r59980  
    9090}
    9191
     92JSValue JSPropertyNameIterator::get(ExecState* exec, JSObject* base, size_t i)
     93{
     94    JSValue& identifier = m_jsStrings[i];
     95    if (m_cachedStructure == base->structure() && m_cachedPrototypeChain == base->structure()->prototypeChain(exec))
     96        return identifier;
     97
     98    if (!base->hasProperty(exec, Identifier(exec, asString(identifier)->value(exec))))
     99        return JSValue();
     100    return identifier;
     101}
     102
    92103void JSPropertyNameIterator::markChildren(MarkStack& markStack)
    93104{
Note: See TracChangeset for help on using the changeset viewer.