Changeset 12918 in webkit for trunk/JavaScriptCore


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.
Location:
trunk/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/ChangeLog

    r12914 r12918  
     12006-02-21  Darin Adler  <[email protected]>
     2
     3        Change suggested by Mitz.
     4
     5        - http://bugzilla.opendarwin.org/show_bug.cgi?id=7402
     6          REGRESSION: Methods do not execute
     7
     8        * kjs/internal.h: Add implementsHasCall to InternalFunctionImp.
     9        * kjs/internal.cpp: (KJS::InternalFunctionImp::implementsHasCall):
     10        Return true. All the classes derived from InternalFunctionImp need
     11        to return true from this -- later we can remove all the extra
     12        implementations too.
     13
    1142006-02-21  Maciej Stachowiak  <[email protected]>
    215
  • trunk/JavaScriptCore/kjs/internal.cpp

    r12911 r12918  
    722722}
    723723
     724bool InternalFunctionImp::implementsHasCall() const
     725{
     726  return true;
     727}
     728
    724729bool InternalFunctionImp::implementsHasInstance() const
    725730{
  • 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.