blob: 4ccef08225d0b39f48de1bb317c8d5e214dc08b2 [file] [log] [blame]
mjsbc91bae2007-04-24 08:44:14 +00001/*
weinig@apple.com7dab4652008-07-05 23:19:36 +00002 * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
mjsbc91bae2007-04-24 08:44:14 +00003 *
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
ddkilzerc8eccec2007-09-26 02:29:57 +000016 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
mjsbc91bae2007-04-24 08:44:14 +000017 * 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.com6ef23cd2008-05-23 19:42:26 +000026#define JAVASCRIPTCORE_BUILDING_ALL_IN_ONE_FILE 1
bdasha190b3a2007-08-03 16:21:44 +000027#include "config.h"
mjsbc91bae2007-04-24 08:44:14 +000028
mjs@apple.com52b67602008-09-22 03:15:52 +000029// 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.orgb91210c2008-11-04 07:10:41 +000034#include "runtime/JSStaticScopeObject.cpp"
cwzwarich@webkit.org53173f32008-10-28 21:06:37 +000035#include "runtime/JSFunction.cpp"
cwzwarich@webkit.orgb91210c2008-11-04 07:10:41 +000036#include "runtime/Arguments.cpp"
cwzwarich@webkit.org53173f32008-10-28 21:06:37 +000037#include "runtime/JSGlobalObjectFunctions.cpp"
38#include "runtime/PrototypeFunction.cpp"
39#include "runtime/GlobalEvalFunction.cpp"
cwzwarich@webkit.orga691b5a2008-10-31 05:56:58 +000040#include "debugger/Debugger.cpp"
cwzwarich@webkit.org53173f32008-10-28 21:06:37 +000041#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.org0b51a732008-11-05 23:21:32 +000047#include "runtime/Collector.cpp"
cwzwarich@webkit.orgb91210c2008-11-04 07:10:41 +000048#include "runtime/CommonIdentifiers.cpp"
cwzwarich@webkit.org53173f32008-10-28 21:06:37 +000049#include "runtime/DateConstructor.cpp"
dglazkov@chromium.org1d2d8742009-06-08 22:37:06 +000050#include "runtime/DateConversion.cpp"
cwzwarich@webkit.org53173f32008-10-28 21:06:37 +000051#include "runtime/DatePrototype.cpp"
52#include "runtime/DateInstance.cpp"
cwzwarich@webkit.org4bcb8732008-11-05 00:49:41 +000053#include "wtf/dtoa.cpp"
cwzwarich@webkit.org53173f32008-10-28 21:06:37 +000054#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.org5118ab32008-11-07 17:48:38 +000059#include "Grammar.cpp"
cwzwarich@webkit.org0b51a732008-11-05 23:21:32 +000060#include "runtime/Identifier.cpp"
cwzwarich@webkit.org53173f32008-10-28 21:06:37 +000061#include "runtime/JSString.cpp"
62#include "runtime/JSNumberCell.cpp"
cwzwarich@webkit.orgb91210c2008-11-04 07:10:41 +000063#include "runtime/GetterSetter.cpp"
cwzwarich@webkit.org53173f32008-10-28 21:06:37 +000064#include "runtime/InternalFunction.cpp"
ggaren@apple.com4240a312008-11-17 17:55:40 +000065#include "runtime/Completion.cpp"
cwzwarich@webkit.org53173f32008-10-28 21:06:37 +000066#include "runtime/JSImmediate.cpp"
cwzwarich@webkit.orgb91210c2008-11-04 07:10:41 +000067#include "runtime/JSLock.cpp"
cwzwarich@webkit.org53173f32008-10-28 21:06:37 +000068#include "runtime/JSWrapperObject.cpp"
cwzwarich@webkit.org3ff0e6a2008-11-07 00:18:07 +000069#include "parser/Lexer.cpp"
cwzwarich@webkit.orgb91210c2008-11-04 07:10:41 +000070#include "runtime/ArgList.cpp"
cwzwarich@webkit.org0b51a732008-11-05 23:21:32 +000071#include "runtime/Lookup.cpp"
cwzwarich@webkit.org53173f32008-10-28 21:06:37 +000072#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.org3ff0e6a2008-11-07 00:18:07 +000078#include "parser/Nodes.cpp"
cwzwarich@webkit.org53173f32008-10-28 21:06:37 +000079#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.org0b51a732008-11-05 23:21:32 +000084#include "runtime/Operations.cpp"
cwzwarich@webkit.org3ff0e6a2008-11-07 00:18:07 +000085#include "parser/Parser.cpp"
cwzwarich@webkit.org53173f32008-10-28 21:06:37 +000086#include "runtime/PropertySlot.cpp"
cwzwarich@webkit.orgb91210c2008-11-04 07:10:41 +000087#include "runtime/PropertyNameArray.cpp"
cwzwarich@webkit.org0b51a732008-11-05 23:21:32 +000088#include "runtime/RegExp.cpp"
cwzwarich@webkit.org06128762008-10-31 21:40:34 +000089#include "runtime/RegExpConstructor.cpp"
90#include "runtime/RegExpObject.cpp"
91#include "runtime/RegExpPrototype.cpp"
cwzwarich@webkit.orgb91210c2008-11-04 07:10:41 +000092#include "runtime/ScopeChain.cpp"
cwzwarich@webkit.org53173f32008-10-28 21:06:37 +000093#include "runtime/StringConstructor.cpp"
94#include "runtime/StringObject.cpp"
95#include "runtime/StringPrototype.cpp"
cwzwarich@webkit.org0b51a732008-11-05 23:21:32 +000096#include "runtime/UString.cpp"
cwzwarich@webkit.org53173f32008-10-28 21:06:37 +000097#include "runtime/JSValue.cpp"
98#include "runtime/CallData.cpp"
99#include "runtime/ConstructData.cpp"
100#include "runtime/JSCell.cpp"
101#include "runtime/JSVariableObject.cpp"
mjsbc91bae2007-04-24 08:44:14 +0000102#include "wtf/FastMalloc.cpp"
103#include "wtf/TCSystemAlloc.cpp"
ggaren@apple.com2efe3de2008-11-17 16:18:13 +0000104#include "bytecompiler/BytecodeGenerator.cpp"
ggaren@apple.comb29a2a42008-11-17 21:29:41 +0000105#include "interpreter/RegisterFile.cpp"