Changeset 6452 in webkit for trunk/JavaScriptCore/kjs/reference.h


Ignore:
Timestamp:
Apr 22, 2004, 9:53:36 AM (21 years ago)
Author:
mjs
Message:

JavaScriptCore:

Reviewed by Darin.

Preliminary change for conservative GC. Create "protected"
subclasses to GC-protect objects when on heap, since we will soon
remove the built-in refcounting of the normal wrapper classes. Use
them where needed.

  • JavaScriptCore.pbproj/project.pbxproj:
  • kjs/context.h:
  • kjs/internal.h: (KJS::InterpreterImp::globalObject):
  • kjs/interpreter.h:
  • kjs/property_map.cpp:
  • kjs/reference.h:
  • kjs/reference_list.cpp:

WebCore:

Reviewed by Darin.

Preliminary change for conservative GC. Use new "protected"
subclasses to GC-protect objects when on heap, since we will soon
remove the built-in refcounting of the normal wrapper classes.

  • ForwardingHeaders/kjs/protect.h: Added.
  • khtml/ecma/kjs_binding.h:
  • khtml/ecma/kjs_events.h:
  • khtml/ecma/kjs_traversal.h:
  • khtml/ecma/kjs_window.h:
File:
1 edited

Legend:

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

    r6423 r6452  
    3232    friend class ReferenceList;
    3333    friend class ReferenceListIterator;
     34    friend class ProtectedReference;
    3435  public:
    3536    Reference(const Object& b, const Identifier& p);
Note: See TracChangeset for help on using the changeset viewer.