mjs | bc91bae | 2007-04-24 08:44:14 +0000 | [diff] [blame] | 1 | /* |
weinig@apple.com | 7dab465 | 2008-07-05 23:19:36 +0000 | [diff] [blame] | 2 | * Copyright (C) 2006, 2008 Apple Inc. All rights reserved. |
mjs | bc91bae | 2007-04-24 08:44:14 +0000 | [diff] [blame] | 3 | * |
| 4 | * This library is free software; you can redistribute it and/or |
| 5 | * modify it under the terms of the GNU Library General Public |
| 6 | * License as published by the Free Software Foundation; either |
| 7 | * version 2 of the License, or (at your option) any later version. |
| 8 | * |
| 9 | * This library is distributed in the hope that it will be useful, |
| 10 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 11 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 12 | * Library General Public License for more details. |
| 13 | * |
| 14 | * You should have received a copy of the GNU Library General Public License |
| 15 | * along with this library; see the file COPYING.LIB. If not, write to |
ddkilzer | c8eccec | 2007-09-26 02:29:57 +0000 | [diff] [blame] | 16 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, |
mjs | bc91bae | 2007-04-24 08:44:14 +0000 | [diff] [blame] | 17 | * Boston, MA 02110-1301, USA. |
| 18 | * |
| 19 | */ |
| 20 | |
| 21 | // This file exists to help compile the essential code of |
| 22 | // JavaScriptCore all as one file, for compilers and build systems |
| 23 | // that see a significant speed gain from this. |
| 24 | |
| 25 | #define KDE_USE_FINAL 1 |
mrowe@apple.com | 6ef23cd | 2008-05-23 19:42:26 +0000 | [diff] [blame] | 26 | #define JAVASCRIPTCORE_BUILDING_ALL_IN_ONE_FILE 1 |
bdash | a190b3a | 2007-08-03 16:21:44 +0000 | [diff] [blame] | 27 | #include "config.h" |
mjs | bc91bae | 2007-04-24 08:44:14 +0000 | [diff] [blame] | 28 | |
mjs@apple.com | 52b6760 | 2008-09-22 03:15:52 +0000 | [diff] [blame] | 29 | // these headers are included here to avoid confusion between ::JSType and JSC::JSType |
| 30 | #include "JSCallbackConstructor.h" |
| 31 | #include "JSCallbackFunction.h" |
| 32 | #include "JSCallbackObject.h" |
| 33 | |
cwzwarich@webkit.org | b91210c | 2008-11-04 07:10:41 +0000 | [diff] [blame] | 34 | #include "runtime/JSStaticScopeObject.cpp" |
cwzwarich@webkit.org | 53173f3 | 2008-10-28 21:06:37 +0000 | [diff] [blame] | 35 | #include "runtime/JSFunction.cpp" |
cwzwarich@webkit.org | b91210c | 2008-11-04 07:10:41 +0000 | [diff] [blame] | 36 | #include "runtime/Arguments.cpp" |
cwzwarich@webkit.org | 53173f3 | 2008-10-28 21:06:37 +0000 | [diff] [blame] | 37 | #include "runtime/JSGlobalObjectFunctions.cpp" |
| 38 | #include "runtime/PrototypeFunction.cpp" |
| 39 | #include "runtime/GlobalEvalFunction.cpp" |
cwzwarich@webkit.org | a691b5a | 2008-10-31 05:56:58 +0000 | [diff] [blame] | 40 | #include "debugger/Debugger.cpp" |
cwzwarich@webkit.org | 53173f3 | 2008-10-28 21:06:37 +0000 | [diff] [blame] | 41 | #include "runtime/JSArray.cpp" |
| 42 | #include "runtime/ArrayConstructor.cpp" |
| 43 | #include "runtime/ArrayPrototype.cpp" |
| 44 | #include "runtime/BooleanConstructor.cpp" |
| 45 | #include "runtime/BooleanObject.cpp" |
| 46 | #include "runtime/BooleanPrototype.cpp" |
cwzwarich@webkit.org | 0b51a73 | 2008-11-05 23:21:32 +0000 | [diff] [blame] | 47 | #include "runtime/Collector.cpp" |
cwzwarich@webkit.org | b91210c | 2008-11-04 07:10:41 +0000 | [diff] [blame] | 48 | #include "runtime/CommonIdentifiers.cpp" |
cwzwarich@webkit.org | 53173f3 | 2008-10-28 21:06:37 +0000 | [diff] [blame] | 49 | #include "runtime/DateConstructor.cpp" |
dglazkov@chromium.org | 1d2d874 | 2009-06-08 22:37:06 +0000 | [diff] [blame] | 50 | #include "runtime/DateConversion.cpp" |
cwzwarich@webkit.org | 53173f3 | 2008-10-28 21:06:37 +0000 | [diff] [blame] | 51 | #include "runtime/DatePrototype.cpp" |
| 52 | #include "runtime/DateInstance.cpp" |
cwzwarich@webkit.org | 4bcb873 | 2008-11-05 00:49:41 +0000 | [diff] [blame] | 53 | #include "wtf/dtoa.cpp" |
cwzwarich@webkit.org | 53173f3 | 2008-10-28 21:06:37 +0000 | [diff] [blame] | 54 | #include "runtime/ErrorInstance.cpp" |
| 55 | #include "runtime/ErrorPrototype.cpp" |
| 56 | #include "runtime/ErrorConstructor.cpp" |
| 57 | #include "runtime/FunctionConstructor.cpp" |
| 58 | #include "runtime/FunctionPrototype.cpp" |
alp@webkit.org | 5118ab3 | 2008-11-07 17:48:38 +0000 | [diff] [blame] | 59 | #include "Grammar.cpp" |
cwzwarich@webkit.org | 0b51a73 | 2008-11-05 23:21:32 +0000 | [diff] [blame] | 60 | #include "runtime/Identifier.cpp" |
cwzwarich@webkit.org | 53173f3 | 2008-10-28 21:06:37 +0000 | [diff] [blame] | 61 | #include "runtime/JSString.cpp" |
| 62 | #include "runtime/JSNumberCell.cpp" |
cwzwarich@webkit.org | b91210c | 2008-11-04 07:10:41 +0000 | [diff] [blame] | 63 | #include "runtime/GetterSetter.cpp" |
cwzwarich@webkit.org | 53173f3 | 2008-10-28 21:06:37 +0000 | [diff] [blame] | 64 | #include "runtime/InternalFunction.cpp" |
ggaren@apple.com | 4240a31 | 2008-11-17 17:55:40 +0000 | [diff] [blame] | 65 | #include "runtime/Completion.cpp" |
cwzwarich@webkit.org | 53173f3 | 2008-10-28 21:06:37 +0000 | [diff] [blame] | 66 | #include "runtime/JSImmediate.cpp" |
cwzwarich@webkit.org | b91210c | 2008-11-04 07:10:41 +0000 | [diff] [blame] | 67 | #include "runtime/JSLock.cpp" |
cwzwarich@webkit.org | 53173f3 | 2008-10-28 21:06:37 +0000 | [diff] [blame] | 68 | #include "runtime/JSWrapperObject.cpp" |
cwzwarich@webkit.org | 3ff0e6a | 2008-11-07 00:18:07 +0000 | [diff] [blame] | 69 | #include "parser/Lexer.cpp" |
cwzwarich@webkit.org | b91210c | 2008-11-04 07:10:41 +0000 | [diff] [blame] | 70 | #include "runtime/ArgList.cpp" |
cwzwarich@webkit.org | 0b51a73 | 2008-11-05 23:21:32 +0000 | [diff] [blame] | 71 | #include "runtime/Lookup.cpp" |
cwzwarich@webkit.org | 53173f3 | 2008-10-28 21:06:37 +0000 | [diff] [blame] | 72 | #include "runtime/MathObject.cpp" |
| 73 | #include "runtime/NativeErrorConstructor.cpp" |
| 74 | #include "runtime/NativeErrorPrototype.cpp" |
| 75 | #include "runtime/NumberConstructor.cpp" |
| 76 | #include "runtime/NumberObject.cpp" |
| 77 | #include "runtime/NumberPrototype.cpp" |
cwzwarich@webkit.org | 3ff0e6a | 2008-11-07 00:18:07 +0000 | [diff] [blame] | 78 | #include "parser/Nodes.cpp" |
cwzwarich@webkit.org | 53173f3 | 2008-10-28 21:06:37 +0000 | [diff] [blame] | 79 | #include "runtime/JSObject.cpp" |
| 80 | #include "runtime/Error.cpp" |
| 81 | #include "runtime/JSGlobalObject.cpp" |
| 82 | #include "runtime/ObjectConstructor.cpp" |
| 83 | #include "runtime/ObjectPrototype.cpp" |
cwzwarich@webkit.org | 0b51a73 | 2008-11-05 23:21:32 +0000 | [diff] [blame] | 84 | #include "runtime/Operations.cpp" |
cwzwarich@webkit.org | 3ff0e6a | 2008-11-07 00:18:07 +0000 | [diff] [blame] | 85 | #include "parser/Parser.cpp" |
cwzwarich@webkit.org | 53173f3 | 2008-10-28 21:06:37 +0000 | [diff] [blame] | 86 | #include "runtime/PropertySlot.cpp" |
cwzwarich@webkit.org | b91210c | 2008-11-04 07:10:41 +0000 | [diff] [blame] | 87 | #include "runtime/PropertyNameArray.cpp" |
cwzwarich@webkit.org | 0b51a73 | 2008-11-05 23:21:32 +0000 | [diff] [blame] | 88 | #include "runtime/RegExp.cpp" |
cwzwarich@webkit.org | 0612876 | 2008-10-31 21:40:34 +0000 | [diff] [blame] | 89 | #include "runtime/RegExpConstructor.cpp" |
| 90 | #include "runtime/RegExpObject.cpp" |
| 91 | #include "runtime/RegExpPrototype.cpp" |
cwzwarich@webkit.org | b91210c | 2008-11-04 07:10:41 +0000 | [diff] [blame] | 92 | #include "runtime/ScopeChain.cpp" |
cwzwarich@webkit.org | 53173f3 | 2008-10-28 21:06:37 +0000 | [diff] [blame] | 93 | #include "runtime/StringConstructor.cpp" |
| 94 | #include "runtime/StringObject.cpp" |
| 95 | #include "runtime/StringPrototype.cpp" |
cwzwarich@webkit.org | 0b51a73 | 2008-11-05 23:21:32 +0000 | [diff] [blame] | 96 | #include "runtime/UString.cpp" |
cwzwarich@webkit.org | 53173f3 | 2008-10-28 21:06:37 +0000 | [diff] [blame] | 97 | #include "runtime/JSValue.cpp" |
| 98 | #include "runtime/CallData.cpp" |
| 99 | #include "runtime/ConstructData.cpp" |
| 100 | #include "runtime/JSCell.cpp" |
| 101 | #include "runtime/JSVariableObject.cpp" |
mjs | bc91bae | 2007-04-24 08:44:14 +0000 | [diff] [blame] | 102 | #include "wtf/FastMalloc.cpp" |
| 103 | #include "wtf/TCSystemAlloc.cpp" |
ggaren@apple.com | 2efe3de | 2008-11-17 16:18:13 +0000 | [diff] [blame] | 104 | #include "bytecompiler/BytecodeGenerator.cpp" |
ggaren@apple.com | b29a2a4 | 2008-11-17 21:29:41 +0000 | [diff] [blame] | 105 | #include "interpreter/RegisterFile.cpp" |