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

Fix indentation of BatchedTransitionOptimizer.h

Rubber stamped by Mark Hahnenberg.

* runtime/BatchedTransitionOptimizer.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@134113 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 955bc47e
2012-11-09 Filip Pizlo <fpizlo@apple.com>
Fix indentation of BatchedTransitionOptimizer.h
Rubber stamped by Mark Hahnenberg.
* runtime/BatchedTransitionOptimizer.h:
2012-11-09 Oliver Hunt <oliver@apple.com>
So Thingy probably isn't the best name for a class, so
......
......@@ -31,25 +31,25 @@
namespace JSC {
class BatchedTransitionOptimizer {
WTF_MAKE_NONCOPYABLE(BatchedTransitionOptimizer);
public:
BatchedTransitionOptimizer(JSGlobalData& globalData, JSObject* object)
: m_globalData(&globalData)
, m_object(object)
{
}
~BatchedTransitionOptimizer()
{
if (m_object->structure()->isDictionary())
m_object->flattenDictionaryObject(*m_globalData);
}
private:
JSGlobalData* m_globalData;
JSObject* m_object;
};
class BatchedTransitionOptimizer {
WTF_MAKE_NONCOPYABLE(BatchedTransitionOptimizer);
public:
BatchedTransitionOptimizer(JSGlobalData& globalData, JSObject* object)
: m_globalData(&globalData)
, m_object(object)
{
}
~BatchedTransitionOptimizer()
{
if (m_object->structure()->isDictionary())
m_object->flattenDictionaryObject(*m_globalData);
}
private:
JSGlobalData* m_globalData;
JSObject* m_object;
};
} // 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