Changeset 9618 in webkit for trunk/JavaScriptCore/kjs/function.h


Ignore:
Timestamp:
Jul 8, 2005, 9:12:40 AM (20 years ago)
Author:
ggaren
Message:

-rolled in patch for http://bugzilla.opendarwin.org/show_bug.cgi?id=3878
arguments object should be an object not an array

Reviewed by mjs.

  • kjs/function.cpp: (KJS::ArgumentsImp::ArgumentsImp): now manually handles initialization we used to get for free by inheriting from ArrayInstanceImp
  • kjs/function.h: ArgumentsImp now inherits from ObjectImp
  • tests/mozilla/expected.html: updated expected test results
File:
1 edited

Legend:

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

    r9582 r9618  
    8888  };
    8989
    90 
    91 
    92 
    93   class ArgumentsImp : public ArrayInstanceImp {
     90  class ArgumentsImp : public ObjectImp {
    9491  public:
    95     ArgumentsImp(ExecState *exec, FunctionImp *func);
    9692    ArgumentsImp(ExecState *exec, FunctionImp *func, const List &args);
    9793
Note: See TracChangeset for help on using the changeset viewer.