Changed RuntimeArrayImp to inherit from ArrayInstanceImp and
authorrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 May 2004 22:19:02 +0000 (22:19 +0000)
committerrjw <rjw@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 24 May 2004 22:19:02 +0000 (22:19 +0000)
commitf481a365f0274f3453eb3e48d833cc4b70e53881
treed5d63f6affe0517a1ff54f0d089b7492b3a203df
parenta3cdbc7d4199d1bc832489f9f6bc03ab0c97c03b
Changed RuntimeArrayImp to inherit from ArrayInstanceImp and
fixed ClassInfo to correctly reflect inheritance.  This is required
because of the runtime checks in JSC for arrays, i.e. in
the Function objects apply method.

        Reviewed by Ken.

        * bindings/jni/jni_runtime.cpp:
        (JavaArray::convertJObjectToArray):
        * bindings/objc/objc_utility.mm:
        (KJS::Bindings::convertObjcValueToValue):
        * bindings/runtime_array.cpp:
        (RuntimeArrayImp::RuntimeArrayImp):
        * bindings/runtime_array.h:
        * bindings/testM.js: Added.
        * bindings/testbindings.mm:
        (+[MyFirstInterface webScriptNameForSelector:]):
        (-[MyFirstInterface logMessages:]):
        (-[MyFirstInterface logMessage:prefix:]):
        (-[MyFirstInterface callJSObject::]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@6677 268f45cc-cd09-0410-ab3c-d52691b4dbfc
JavaScriptCore/ChangeLog
JavaScriptCore/bindings/jni/jni_runtime.cpp
JavaScriptCore/bindings/objc/objc_utility.mm
JavaScriptCore/bindings/runtime_array.cpp
JavaScriptCore/bindings/runtime_array.h
JavaScriptCore/bindings/testM.js [new file with mode: 0644]
JavaScriptCore/bindings/testbindings.mm