2008-11-05 Cameron Zwarich <zwarich@apple.com>
Rubber-stamped by Sam Weinig.
Move more files to the runtime subdirectory of JavaScriptCore.
JavaScriptCore:
* API/APICast.h:
* API/JSBase.cpp:
* API/JSCallbackObject.cpp:
* API/JSClassRef.cpp:
* API/JSClassRef.h:
* API/JSStringRefCF.cpp:
* API/JSValueRef.cpp:
* API/OpaqueJSString.cpp:
* API/OpaqueJSString.h:
* AllInOneFile.cpp:
* GNUmakefile.am:
* JavaScriptCore.pri:
* JavaScriptCore.vcproj/JavaScriptCore/JavaScriptCore.vcproj:
* JavaScriptCore.xcodeproj/project.pbxproj:
* JavaScriptCoreSources.bkl:
* VM/CodeBlock.h:
* VM/CodeGenerator.cpp:
* VM/Machine.cpp:
* VM/RegisterFile.h:
* debugger/Debugger.h:
* kjs/SourceProvider.h:
* kjs/TypeInfo.h: Removed.
* kjs/collector.cpp: Removed.
* kjs/collector.h: Removed.
* kjs/completion.h: Removed.
* kjs/create_hash_table:
* kjs/identifier.cpp: Removed.
* kjs/identifier.h: Removed.
* kjs/interpreter.cpp: Removed.
* kjs/interpreter.h: Removed.
* kjs/lexer.cpp:
* kjs/lexer.h:
* kjs/lookup.cpp: Removed.
* kjs/lookup.h: Removed.
* kjs/nodes.cpp:
* kjs/nodes.h:
* kjs/operations.cpp: Removed.
* kjs/operations.h: Removed.
* kjs/protect.h: Removed.
* kjs/regexp.cpp: Removed.
* kjs/regexp.h: Removed.
* kjs/ustring.cpp: Removed.
* kjs/ustring.h: Removed.
* pcre/pcre_exec.cpp:
* profiler/CallIdentifier.h:
* profiler/Profile.h:
* runtime/ArrayConstructor.cpp:
* runtime/ArrayPrototype.cpp:
* runtime/ArrayPrototype.h:
* runtime/Collector.cpp: Copied from kjs/collector.cpp.
* runtime/Collector.h: Copied from kjs/collector.h.
* runtime/CollectorHeapIterator.h:
* runtime/Completion.h: Copied from kjs/completion.h.
* runtime/ErrorPrototype.cpp:
* runtime/Identifier.cpp: Copied from kjs/identifier.cpp.
* runtime/Identifier.h: Copied from kjs/identifier.h.
* runtime/InitializeThreading.cpp:
* runtime/Interpreter.cpp: Copied from kjs/interpreter.cpp.
* runtime/Interpreter.h: Copied from kjs/interpreter.h.
* runtime/JSCell.h:
* runtime/JSGlobalData.cpp:
* runtime/JSGlobalData.h:
* runtime/JSLock.cpp:
* runtime/JSNumberCell.cpp:
* runtime/JSNumberCell.h:
* runtime/JSObject.cpp:
* runtime/JSValue.h:
* runtime/Lookup.cpp: Copied from kjs/lookup.cpp.
* runtime/Lookup.h: Copied from kjs/lookup.h.
* runtime/MathObject.cpp:
* runtime/NativeErrorPrototype.cpp:
* runtime/NumberPrototype.cpp:
* runtime/Operations.cpp: Copied from kjs/operations.cpp.
* runtime/Operations.h: Copied from kjs/operations.h.
* runtime/PropertyMapHashTable.h:
* runtime/Protect.h: Copied from kjs/protect.h.
* runtime/RegExp.cpp: Copied from kjs/regexp.cpp.
* runtime/RegExp.h: Copied from kjs/regexp.h.
* runtime/RegExpConstructor.cpp:
* runtime/RegExpObject.h:
* runtime/RegExpPrototype.cpp:
* runtime/SmallStrings.h:
* runtime/StringObjectThatMasqueradesAsUndefined.h:
* runtime/StructureID.cpp:
* runtime/StructureID.h:
* runtime/StructureIDTransitionTable.h:
* runtime/SymbolTable.h:
* runtime/TypeInfo.h: Copied from kjs/TypeInfo.h.
* runtime/UString.cpp: Copied from kjs/ustring.cpp.
* runtime/UString.h: Copied from kjs/ustring.h.
* wrec/CharacterClassConstructor.h:
* wrec/WREC.h:
WebCore:
* ForwardingHeaders/kjs/collector.h: Removed.
* ForwardingHeaders/kjs/completion.h: Removed.
* ForwardingHeaders/kjs/identifier.h: Removed.
* ForwardingHeaders/kjs/interpreter.h: Removed.
* ForwardingHeaders/kjs/lookup.h: Removed.
* ForwardingHeaders/kjs/operations.h: Removed.
* ForwardingHeaders/kjs/protect.h: Removed.
* ForwardingHeaders/kjs/ustring.h: Removed.
* ForwardingHeaders/runtime/Collector.h: Copied from ForwardingHeaders/kjs/collector.h.
* ForwardingHeaders/runtime/Completion.h: Copied from ForwardingHeaders/kjs/completion.h.
* ForwardingHeaders/runtime/Identifier.h: Copied from ForwardingHeaders/kjs/identifier.h.
* ForwardingHeaders/runtime/Interpreter.h: Copied from ForwardingHeaders/kjs/interpreter.h.
* ForwardingHeaders/runtime/Lookup.h: Copied from ForwardingHeaders/kjs/lookup.h.
* ForwardingHeaders/runtime/Operations.h: Copied from ForwardingHeaders/kjs/operations.h.
* ForwardingHeaders/runtime/Protect.h: Copied from ForwardingHeaders/kjs/protect.h.
* ForwardingHeaders/runtime/UString.h: Copied from ForwardingHeaders/kjs/ustring.h.
* bindings/js/GCController.cpp:
* bindings/js/JSCustomPositionCallback.h:
* bindings/js/JSCustomPositionErrorCallback.h:
* bindings/js/JSCustomSQLStatementCallback.h:
* bindings/js/JSCustomSQLStatementErrorCallback.h:
* bindings/js/JSCustomSQLTransactionErrorCallback.h:
* bindings/js/JSCustomVoidCallback.h:
* bindings/js/JSDOMBinding.h:
* bindings/js/JSDOMWindowBase.h:
* bindings/js/JSEventListener.h:
* bindings/js/ScheduledAction.h:
* bindings/js/ScriptController.cpp:
* bindings/js/ScriptController.h:
* bindings/objc/WebScriptObject.mm:
* bindings/scripts/CodeGeneratorJS.pm:
* bridge/NP_jsobject.cpp:
* bridge/c/c_class.cpp:
* bridge/jni/jni_class.cpp:
* bridge/jni/jni_jsobject.mm:
* bridge/npruntime.cpp:
* bridge/runtime_root.h:
* history/CachedPage.h:
* html/CanvasRenderingContext2D.cpp:
* html/HTMLCanvasElement.cpp:
* inspector/InspectorController.cpp:
* inspector/JavaScriptCallFrame.cpp:
* page/Console.cpp:
* page/Page.cpp:
* platform/text/AtomicString.cpp:
* platform/text/PlatformString.h:
WebKit/mac:
* ForwardingHeaders/kjs/collector.h: Removed.
* ForwardingHeaders/kjs/identifier.h: Removed.
* ForwardingHeaders/kjs/interpreter.h: Removed.
* ForwardingHeaders/kjs/lookup.h: Removed.
* ForwardingHeaders/kjs/operations.h: Removed.
* ForwardingHeaders/kjs/protect.h: Removed.
* ForwardingHeaders/runtime/Interpreter.h: Copied from ForwardingHeaders/kjs/interpreter.h.
* WebView/WebScriptDebugDelegate.mm:
WebKit/wx:
* WebFrame.cpp:
* WebView.cpp:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38137 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/JavaScriptCore/AllInOneFile.cpp b/JavaScriptCore/AllInOneFile.cpp
index 6423f99..be2113a 100644
--- a/JavaScriptCore/AllInOneFile.cpp
+++ b/JavaScriptCore/AllInOneFile.cpp
@@ -44,7 +44,7 @@
#include "runtime/BooleanConstructor.cpp"
#include "runtime/BooleanObject.cpp"
#include "runtime/BooleanPrototype.cpp"
-#include "kjs/collector.cpp"
+#include "runtime/Collector.cpp"
#include "runtime/CommonIdentifiers.cpp"
#include "runtime/DateConstructor.cpp"
#include "runtime/DateMath.cpp"
@@ -57,18 +57,18 @@
#include "runtime/FunctionConstructor.cpp"
#include "runtime/FunctionPrototype.cpp"
#include "grammar.cpp"
-#include "kjs/identifier.cpp"
+#include "runtime/Identifier.cpp"
#include "runtime/JSString.cpp"
#include "runtime/JSNumberCell.cpp"
#include "runtime/GetterSetter.cpp"
#include "runtime/InternalFunction.cpp"
-#include "kjs/interpreter.cpp"
+#include "runtime/Interpreter.cpp"
#include "runtime/JSImmediate.cpp"
#include "runtime/JSLock.cpp"
#include "runtime/JSWrapperObject.cpp"
#include "kjs/lexer.cpp"
#include "runtime/ArgList.cpp"
-#include "kjs/lookup.cpp"
+#include "runtime/Lookup.cpp"
#include "runtime/MathObject.cpp"
#include "runtime/NativeErrorConstructor.cpp"
#include "runtime/NativeErrorPrototype.cpp"
@@ -82,11 +82,11 @@
#include "runtime/JSGlobalObject.cpp"
#include "runtime/ObjectConstructor.cpp"
#include "runtime/ObjectPrototype.cpp"
-#include "kjs/operations.cpp"
+#include "runtime/Operations.cpp"
#include "kjs/Parser.cpp"
#include "runtime/PropertySlot.cpp"
#include "runtime/PropertyNameArray.cpp"
-#include "kjs/regexp.cpp"
+#include "runtime/RegExp.cpp"
#include "runtime/RegExpConstructor.cpp"
#include "runtime/RegExpObject.cpp"
#include "runtime/RegExpPrototype.cpp"
@@ -94,7 +94,7 @@
#include "runtime/StringConstructor.cpp"
#include "runtime/StringObject.cpp"
#include "runtime/StringPrototype.cpp"
-#include "kjs/ustring.cpp"
+#include "runtime/UString.cpp"
#include "runtime/JSValue.cpp"
#include "runtime/CallData.cpp"
#include "runtime/ConstructData.cpp"