Changeset 10636 in webkit for trunk/JavaScriptCore/kjs/nodes.cpp


Ignore:
Timestamp:
Sep 27, 2005, 4:38:22 PM (20 years ago)
Author:
eseidel
Message:

Bug #: 3537
Submitted by: eseidel
Reviewed by: mjs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/nodes.cpp

    r10621 r10636  
    23462346  FunctionImp *fimp = new DeclaredFunctionImp(exec, ident, body.get(), context->scopeChain());
    23472347  ValueImp *ret(fimp);
    2348   ValueImp *proto = exec->lexicalInterpreter()->builtinObject()->construct(exec, List::empty());
     2348  ObjectImp *proto = exec->lexicalInterpreter()->builtinObject()->construct(exec, List::empty());
     2349  proto->put(exec, constructorPropertyName, ret, ReadOnly|DontDelete|DontEnum);
    23492350  fimp->put(exec, prototypePropertyName, proto, Internal|DontDelete);
    23502351
Note: See TracChangeset for help on using the changeset viewer.