Changeset 38913 in webkit for trunk/JavaScriptCore/runtime


Ignore:
Timestamp:
Dec 2, 2008, 12:43:51 PM (16 years ago)
Author:
[email protected]
Message:

2008-12-02 Dimitri Glazkov <Dimitri Glazkov>

Reviewed by Eric Seidel.

Fix the inheritance chain for JSFunction.

  • runtime/JSFunction.cpp: (JSC::JSFunction::info): Add InternalFunction::info as parent class
File:
1 edited

Legend:

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

    r38767 r38913  
    4444ASSERT_CLASS_FITS_IN_CELL(JSFunction);
    4545
    46 const ClassInfo JSFunction::info = { "Function", 0, 0, 0 };
     46const ClassInfo JSFunction::info = { "Function", &InternalFunction::info, 0, 0 };
    4747
    4848JSFunction::JSFunction(ExecState* exec, const Identifier& name, FunctionBodyNode* body, ScopeChainNode* scopeChainNode)
Note: See TracChangeset for help on using the changeset viewer.