Changeset 12918 in webkit for trunk/JavaScriptCore/kjs/internal.h


Ignore:
Timestamp:
Feb 21, 2006, 7:19:43 AM (19 years ago)
Author:
darin
Message:

Change suggested by Mitz.

  • kjs/internal.h: Add implementsHasCall to InternalFunctionImp.
  • kjs/internal.cpp: (KJS::InternalFunctionImp::implementsHasCall): Return true. All the classes derived from InternalFunctionImp need to return true from this -- later we can remove all the extra implementations too.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/internal.h

    r12911 r12918  
    351351    InternalFunctionImp(FunctionPrototype*);
    352352    InternalFunctionImp(FunctionPrototype*, const Identifier&);
    353     bool implementsHasInstance() const;
    354     bool hasInstance(ExecState *exec, JSValue *value);
     353
     354    virtual bool implementsCall() const;
     355
     356    virtual bool implementsHasInstance() const;
     357    virtual bool hasInstance(ExecState *exec, JSValue *value);
    355358
    356359    virtual const ClassInfo *classInfo() const { return &info; }
Note: See TracChangeset for help on using the changeset viewer.