Ignore:
Timestamp:
Oct 8, 2009, 8:22:41 PM (16 years ago)
Author:
[email protected]
Message:

At long last, I pronounce the death of AllInOneFile.cpp.

Patch by Geoffrey Garen <[email protected]> on 2009-10-08
Reviewed by Maciej Stachowiak.

SunSpider reports a 1.01x speedup.

to compilation stages.

  • parser/Grammar.y:
  • parser/Lexer.cpp:
  • parser/Lexer.h:

(JSC::jscyylex):

  • runtime/ArrayConstructor.cpp:

(JSC::constructArrayWithSizeQuirk):

  • runtime/Collector.h:
  • runtime/JSCell.cpp:

(JSC::JSCell::operator new):

  • runtime/JSCell.h:

(JSC::JSCell::operator new):

  • runtime/JSGlobalObject.cpp:

(JSC::JSGlobalObject::operator new):

  • runtime/JSNumberCell.h:

(JSC::JSNumberCell::operator new):

  • runtime/JSString.cpp:
  • runtime/JSString.h:

(JSC::jsString):
(JSC::jsSubstring):
(JSC::jsOwnedString):

  • runtime/RegExpConstructor.cpp:
  • runtime/RegExpConstructor.h:

(JSC::RegExpConstructorPrivate::RegExpConstructorPrivate):
(JSC::RegExpConstructorPrivate::lastOvector):
(JSC::RegExpConstructorPrivate::tempOvector):
(JSC::RegExpConstructorPrivate::changeLastOvector):
(JSC::RegExpConstructor::performMatch):

  • runtime/StringPrototype.cpp:

(JSC::stringProtoFuncMatch):

  • yarr/RegexJIT.cpp:
  • yarr/RegexJIT.h:

(JSC::Yarr::executeRegex): Inlined a few things that Shark said
were hot, on the presumption that AllInOneFile.cpp used to inline them
automatically.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/AllInOneFile.cpp

    r46598 r49365  
    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/JSAPIValueWrapper.cpp"
    38 #include "runtime/JSGlobalObjectFunctions.cpp"
    39 #include "runtime/PrototypeFunction.cpp"
    40 #include "runtime/GlobalEvalFunction.cpp"
    41 #include "debugger/Debugger.cpp"
    42 #include "runtime/JSArray.cpp"
    43 #include "runtime/ArrayConstructor.cpp"
    44 #include "runtime/ArrayPrototype.cpp"
    45 #include "runtime/BooleanConstructor.cpp"
    46 #include "runtime/BooleanObject.cpp"
    47 #include "runtime/BooleanPrototype.cpp"
    48 #include "runtime/Collector.cpp"
    49 #include "runtime/CommonIdentifiers.cpp"
    50 #include "runtime/DateConstructor.cpp"
    51 #include "runtime/DateConversion.cpp"
    52 #include "runtime/DatePrototype.cpp"
    53 #include "runtime/DateInstance.cpp"
    54 #include "wtf/dtoa.cpp"
    55 #include "runtime/ErrorInstance.cpp"
    56 #include "runtime/ErrorPrototype.cpp"
    57 #include "runtime/ErrorConstructor.cpp"
    58 #include "runtime/FunctionConstructor.cpp"
    59 #include "runtime/FunctionPrototype.cpp"
    60 #include "Grammar.cpp"
    61 #include "runtime/Identifier.cpp"
    62 #include "runtime/JSString.cpp"
    63 #include "runtime/JSNumberCell.cpp"
    64 #include "runtime/GetterSetter.cpp"
    65 #include "runtime/InternalFunction.cpp"
    66 #include "runtime/Completion.cpp"
    67 #include "runtime/JSImmediate.cpp"
    68 #include "runtime/JSLock.cpp"
    69 #include "runtime/JSWrapperObject.cpp"
    70 #include "parser/Lexer.cpp"
    71 #include "runtime/ArgList.cpp"
    72 #include "runtime/Lookup.cpp"
    73 #include "runtime/MathObject.cpp"
    74 #include "runtime/NativeErrorConstructor.cpp"
    75 #include "runtime/NativeErrorPrototype.cpp"
    76 #include "runtime/NumberConstructor.cpp"
    77 #include "runtime/NumberObject.cpp"
    78 #include "runtime/NumberPrototype.cpp"
    79 #include "parser/Nodes.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/BytecodeGenerator.cpp"
    106 #include "interpreter/RegisterFile.cpp"
Note: See TracChangeset for help on using the changeset viewer.