1 | /*
|
---|
2 | * Copyright (C) 2006, 2008 Apple Inc. All rights reserved.
|
---|
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
|
---|
16 | * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
---|
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
|
---|
26 | #define JAVASCRIPTCORE_BUILDING_ALL_IN_ONE_FILE 1
|
---|
27 | #include "config.h"
|
---|
28 |
|
---|
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 |
|
---|
34 | #include "runtime/JSStaticScopeObject.cpp"
|
---|
35 | #include "runtime/JSFunction.cpp"
|
---|
36 | #include "runtime/Arguments.cpp"
|
---|
37 | #include "runtime/JSGlobalObjectFunctions.cpp"
|
---|
38 | #include "runtime/PrototypeFunction.cpp"
|
---|
39 | #include "runtime/GlobalEvalFunction.cpp"
|
---|
40 | #include "debugger/Debugger.cpp"
|
---|
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"
|
---|
47 | #include "runtime/Collector.cpp"
|
---|
48 | #include "runtime/CommonIdentifiers.cpp"
|
---|
49 | #include "runtime/DateConstructor.cpp"
|
---|
50 | #include "runtime/DateMath.cpp"
|
---|
51 | #include "runtime/DatePrototype.cpp"
|
---|
52 | #include "runtime/DateInstance.cpp"
|
---|
53 | #include "wtf/dtoa.cpp"
|
---|
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"
|
---|
59 | #include "grammar.cpp"
|
---|
60 | #include "runtime/Identifier.cpp"
|
---|
61 | #include "runtime/JSString.cpp"
|
---|
62 | #include "runtime/JSNumberCell.cpp"
|
---|
63 | #include "runtime/GetterSetter.cpp"
|
---|
64 | #include "runtime/InternalFunction.cpp"
|
---|
65 | #include "runtime/Interpreter.cpp"
|
---|
66 | #include "runtime/JSImmediate.cpp"
|
---|
67 | #include "runtime/JSLock.cpp"
|
---|
68 | #include "runtime/JSWrapperObject.cpp"
|
---|
69 | #include "parser/Lexer.cpp"
|
---|
70 | #include "runtime/ArgList.cpp"
|
---|
71 | #include "runtime/Lookup.cpp"
|
---|
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"
|
---|
78 | #include "parser/Nodes.cpp"
|
---|
79 | #include "parser/nodes2string.cpp"
|
---|
80 | #include "runtime/JSObject.cpp"
|
---|
81 | #include "runtime/Error.cpp"
|
---|
82 | #include "runtime/JSGlobalObject.cpp"
|
---|
83 | #include "runtime/ObjectConstructor.cpp"
|
---|
84 | #include "runtime/ObjectPrototype.cpp"
|
---|
85 | #include "runtime/Operations.cpp"
|
---|
86 | #include "parser/Parser.cpp"
|
---|
87 | #include "runtime/PropertySlot.cpp"
|
---|
88 | #include "runtime/PropertyNameArray.cpp"
|
---|
89 | #include "runtime/RegExp.cpp"
|
---|
90 | #include "runtime/RegExpConstructor.cpp"
|
---|
91 | #include "runtime/RegExpObject.cpp"
|
---|
92 | #include "runtime/RegExpPrototype.cpp"
|
---|
93 | #include "runtime/ScopeChain.cpp"
|
---|
94 | #include "runtime/StringConstructor.cpp"
|
---|
95 | #include "runtime/StringObject.cpp"
|
---|
96 | #include "runtime/StringPrototype.cpp"
|
---|
97 | #include "runtime/UString.cpp"
|
---|
98 | #include "runtime/JSValue.cpp"
|
---|
99 | #include "runtime/CallData.cpp"
|
---|
100 | #include "runtime/ConstructData.cpp"
|
---|
101 | #include "runtime/JSCell.cpp"
|
---|
102 | #include "runtime/JSVariableObject.cpp"
|
---|
103 | #include "wtf/FastMalloc.cpp"
|
---|
104 | #include "wtf/TCSystemAlloc.cpp"
|
---|
105 | #include "bytecompiler/CodeGenerator.cpp"
|
---|
106 | #include "VM/RegisterFile.cpp"
|
---|