Ignore:
Timestamp:
Sep 4, 2014, 12:10:36 PM (11 years ago)
Author:
[email protected]
Message:

Fixed indentations and some style warnings in JavaScriptCore/runtime.
<https://webkit.org/b/136518>

Reviewed by Michael Saboff.

Also removed some superflous spaces. There are no semantic changes.

  • runtime/Completion.h:
  • runtime/ConstructData.h:
  • runtime/DateConstructor.h:
  • runtime/DateInstance.h:
  • runtime/DateInstanceCache.h:
  • runtime/DatePrototype.h:
  • runtime/Error.h:
  • runtime/ErrorConstructor.h:
  • runtime/ErrorInstance.h:
  • runtime/ErrorPrototype.h:
  • runtime/FunctionConstructor.h:
  • runtime/FunctionPrototype.h:
  • runtime/GetterSetter.h:
  • runtime/Identifier.h:
  • runtime/InitializeThreading.h:
  • runtime/InternalFunction.h:
  • runtime/JSAPIValueWrapper.h:
  • runtime/JSFunction.h:
  • runtime/JSLock.h:
  • runtime/JSNotAnObject.h:
  • runtime/JSONObject.h:
  • runtime/JSString.h:
  • runtime/JSTypeInfo.h:
  • runtime/JSWrapperObject.h:
  • runtime/Lookup.h:
  • runtime/MathObject.h:
  • runtime/NativeErrorConstructor.h:
  • runtime/NativeErrorPrototype.h:
  • runtime/NumberConstructor.h:
  • runtime/NumberObject.h:
  • runtime/NumberPrototype.h:
  • runtime/NumericStrings.h:
  • runtime/ObjectConstructor.h:
  • runtime/ObjectPrototype.h:
  • runtime/PropertyDescriptor.h:
  • runtime/Protect.h:
  • runtime/PutPropertySlot.h:
  • runtime/RegExp.h:
  • runtime/RegExpCachedResult.h:
  • runtime/RegExpConstructor.h:
  • runtime/RegExpMatchesArray.h:
  • runtime/RegExpObject.h:
  • runtime/RegExpPrototype.h:
  • runtime/SmallStrings.h:
  • runtime/StringConstructor.h:
  • runtime/StringObject.h:
  • runtime/StringPrototype.h:
  • runtime/StructureChain.h:
  • runtime/VM.h:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/runtime/NumberObject.h

    r154038 r173269  
    2626namespace JSC {
    2727
    28     class NumberObject : public JSWrapperObject {
    29     protected:
    30         NumberObject(VM&, Structure*);
    31         void finishCreation(VM&);
     28class NumberObject : public JSWrapperObject {
     29protected:
     30    NumberObject(VM&, Structure*);
     31    void finishCreation(VM&);
    3232
    33     public:
    34         typedef JSWrapperObject Base;
     33public:
     34    typedef JSWrapperObject Base;
    3535
    36         static NumberObject* create(VM& vm, Structure* structure)
    37         {
    38             NumberObject* number = new (NotNull, allocateCell<NumberObject>(vm.heap)) NumberObject(vm, structure);
    39             number->finishCreation(vm);
    40             return number;
    41         }
     36    static NumberObject* create(VM& vm, Structure* structure)
     37    {
     38        NumberObject* number = new (NotNull, allocateCell<NumberObject>(vm.heap)) NumberObject(vm, structure);
     39        number->finishCreation(vm);
     40        return number;
     41    }
    4242
    43         DECLARE_EXPORT_INFO;
     43    DECLARE_EXPORT_INFO;
    4444
    45         static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype)
    46         {
    47             return Structure::create(vm, globalObject, prototype, TypeInfo(NumberObjectType, StructureFlags), info());
    48         }
    49     };
     45    static Structure* createStructure(VM& vm, JSGlobalObject* globalObject, JSValue prototype)
     46    {
     47        return Structure::create(vm, globalObject, prototype, TypeInfo(NumberObjectType, StructureFlags), info());
     48    }
     49};
    5050
    51     JS_EXPORT_PRIVATE NumberObject* constructNumber(ExecState*, JSGlobalObject*, JSValue);
     51JS_EXPORT_PRIVATE NumberObject* constructNumber(ExecState*, JSGlobalObject*, JSValue);
    5252
    5353} // namespace JSC
Note: See TracChangeset for help on using the changeset viewer.