Ignore:
Timestamp:
Feb 21, 2006, 8:57:53 AM (19 years ago)
Author:
darin
Message:

Reviewed by John Sullivan.

  • kjs/internal.h: Made InternalFunctionImp::callAsFunction pure virtual so that we'll get a compile error if some derived class neglects to implement it.
  • kjs/function.cpp: (KJS::FunctionImp::FunctionImp): Remove unneeded initialization of param, which is an OwnPtr so it gets initialized by default.
  • bindings/runtime_method.cpp:
  • bindings/runtime_method.h:
  • kjs/array_object.cpp:
  • kjs/array_object.h:
  • kjs/bool_object.cpp:
  • kjs/bool_object.h:
  • kjs/date_object.cpp:
  • kjs/date_object.h:
  • kjs/error_object.cpp:
  • kjs/error_object.h:
  • kjs/function.cpp:
  • kjs/function.h:
  • kjs/function_object.cpp:
  • kjs/function_object.h:
  • kjs/math_object.cpp:
  • kjs/math_object.h:
  • kjs/number_object.cpp:
  • kjs/number_object.h:
  • kjs/object_object.cpp:
  • kjs/object_object.h:
  • kjs/regexp_object.cpp:
  • kjs/regexp_object.h:
  • kjs/string_object.cpp:
  • kjs/string_object.h: Removed many rendundant implementations of implementsCall from subclasses of InternalFunctionImp.
File:
1 edited

Legend:

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

    r12911 r12921  
    5959  : InternalFunctionImp(static_cast<FunctionPrototype*>
    6060                        (exec->lexicalInterpreter()->builtinFunctionPrototype()), n)
    61   , param(0L)
    6261{
    6362}
     
    6564FunctionImp::~FunctionImp()
    6665{
    67 }
    68 
    69 bool FunctionImp::implementsCall() const
    70 {
    71   return true;
    7266}
    7367
     
    568562{
    569563  return id == Eval ? EvalCode : codeType();
    570 }
    571 
    572 bool GlobalFuncImp::implementsCall() const
    573 {
    574   return true;
    575564}
    576565
Note: See TracChangeset for help on using the changeset viewer.