JavaScriptCore:
authormjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Apr 2004 16:53:36 +0000 (16:53 +0000)
committermjs <mjs@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 22 Apr 2004 16:53:36 +0000 (16:53 +0000)
commit42d23f1a21cef456dd90932ed91bed7d9bc20dbe
treea86532409e6da2f0b6bd49b1655cc495ba36d14e
parent296bfc326dc026ac71c6c5d9dc53ca0d77e2ded0
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:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@6452 268f45cc-cd09-0410-ab3c-d52691b4dbfc
15 files changed:
JavaScriptCore/ChangeLog
JavaScriptCore/JavaScriptCore.pbproj/project.pbxproj
JavaScriptCore/kjs/context.h
JavaScriptCore/kjs/internal.h
JavaScriptCore/kjs/interpreter.h
JavaScriptCore/kjs/interpreter_map.h
JavaScriptCore/kjs/property_map.cpp
JavaScriptCore/kjs/reference.h
JavaScriptCore/kjs/reference_list.cpp
WebCore/ChangeLog-2005-08-23
WebCore/ForwardingHeaders/kjs/protect.h [new file with mode: 0644]
WebCore/khtml/ecma/kjs_binding.h
WebCore/khtml/ecma/kjs_events.h
WebCore/khtml/ecma/kjs_traversal.h
WebCore/khtml/ecma/kjs_window.h