Changeset 37068 in webkit for trunk/JavaScriptCore/kjs/JSObject.h


Ignore:
Timestamp:
Sep 29, 2008, 12:49:55 PM (17 years ago)
Author:
[email protected]
Message:

2008-09-29 Cameron Zwarich <[email protected]>

Reviewed by Sam Weinig.

Remove the isActivationObject() virtual method on JSObject and use
StructureID information instead. This should be slightly faster, but
isActivationObject() is only used in assertions and unwinding the stack
for exceptions.

  • VM/Machine.cpp: (JSC::depth): (JSC::Machine::unwindCallFrame): (JSC::Machine::privateExecute): (JSC::Machine::cti_op_ret_activation):
  • kjs/JSActivation.cpp:
  • kjs/JSActivation.h:
  • kjs/JSObject.h:
File:
1 edited

Legend:

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

    r36766 r37068  
    170170        virtual JSValue* lookupSetter(ExecState*, const Identifier& propertyName);
    171171
    172         virtual bool isActivationObject() const { return false; }
    173172        virtual bool isGlobalObject() const { return false; }
    174173        virtual bool isVariableObject() const { return false; }
Note: See TracChangeset for help on using the changeset viewer.