Commit a7ba9024 authored by fpizlo@apple.com's avatar fpizlo@apple.com

Fix indentation of BooleanConstructor.h

Rubber stamped by Mark Hahnenberg.

* runtime/BooleanConstructor.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134114 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c055027f
2012-11-09 Filip Pizlo <fpizlo@apple.com>
Fix indentation of BooleanConstructor.h
Rubber stamped by Mark Hahnenberg.
* runtime/BooleanConstructor.h:
2012-11-09 Filip Pizlo <fpizlo@apple.com> 2012-11-09 Filip Pizlo <fpizlo@apple.com>
Fix indentation of BatchedTransitionOptimizer.h Fix indentation of BatchedTransitionOptimizer.h
......
...@@ -25,37 +25,37 @@ ...@@ -25,37 +25,37 @@
namespace JSC { namespace JSC {
class BooleanPrototype; class BooleanPrototype;
class BooleanConstructor : public InternalFunction { class BooleanConstructor : public InternalFunction {
public: public:
typedef InternalFunction Base; typedef InternalFunction Base;
static BooleanConstructor* create(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, BooleanPrototype* booleanPrototype) static BooleanConstructor* create(ExecState* exec, JSGlobalObject* globalObject, Structure* structure, BooleanPrototype* booleanPrototype)
{ {
BooleanConstructor* constructor = new (NotNull, allocateCell<BooleanConstructor>(*exec->heap())) BooleanConstructor(globalObject, structure); BooleanConstructor* constructor = new (NotNull, allocateCell<BooleanConstructor>(*exec->heap())) BooleanConstructor(globalObject, structure);
constructor->finishCreation(exec, booleanPrototype); constructor->finishCreation(exec, booleanPrototype);
return constructor; return constructor;
} }
static const ClassInfo s_info; static const ClassInfo s_info;
static Structure* createStructure(JSGlobalData& globalData, JSGlobalObject* globalObject, JSValue prototype) static Structure* createStructure(JSGlobalData& globalData, JSGlobalObject* globalObject, JSValue prototype)
{ {
return Structure::create(globalData, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info); return Structure::create(globalData, globalObject, prototype, TypeInfo(ObjectType, StructureFlags), &s_info);
} }
protected: protected:
void finishCreation(ExecState*, BooleanPrototype*); void finishCreation(ExecState*, BooleanPrototype*);
private: private:
BooleanConstructor(JSGlobalObject*, Structure*); BooleanConstructor(JSGlobalObject*, Structure*);
static ConstructType getConstructData(JSCell*, ConstructData&); static ConstructType getConstructData(JSCell*, ConstructData&);
static CallType getCallData(JSCell*, CallData&); static CallType getCallData(JSCell*, CallData&);
}; };
JSObject* constructBooleanFromImmediateBoolean(ExecState*, JSGlobalObject*, JSValue); JSObject* constructBooleanFromImmediateBoolean(ExecState*, JSGlobalObject*, JSValue);
JSObject* constructBoolean(ExecState*, const ArgList&); JSObject* constructBoolean(ExecState*, const ArgList&);
} // namespace JSC } // namespace JSC
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment