Commit 4cd7f153 authored by fpizlo@apple.com's avatar fpizlo@apple.com

Fix indentation of JSVariableObject.h.

Rubber stamped by Mark Hahnenberg.
        
I'm about to do some damage to this file. I wanted to give it some sanity first.

* runtime/JSVariableObject.h:



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@159383 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 1b019c51
2013-11-16 Filip Pizlo <fpizlo@apple.com>
Fix indentation of JSVariableObject.h.
Rubber stamped by Mark Hahnenberg.
I'm about to do some damage to this file. I wanted to give it some sanity first.
* runtime/JSVariableObject.h:
2013-11-16 Julien Brianceau <jbriance@cisco.com>
[sh4] Fix build (broken since r159346).
......
......@@ -36,40 +36,39 @@
namespace JSC {
class LLIntOffsetsExtractor;
class Register;
class LLIntOffsetsExtractor;
class Register;
class JSVariableObject : public JSSymbolTableObject {
friend class JIT;
friend class LLIntOffsetsExtractor;
class JSVariableObject : public JSSymbolTableObject {
friend class JIT;
friend class LLIntOffsetsExtractor;
public:
typedef JSSymbolTableObject Base;
public:
typedef JSSymbolTableObject Base;
WriteBarrierBase<Unknown>& registerAt(int index) const { return m_registers[index]; }
WriteBarrierBase<Unknown>& registerAt(int index) const { return m_registers[index]; }
WriteBarrierBase<Unknown>* const * addressOfRegisters() const { return &m_registers; }
static size_t offsetOfRegisters() { return OBJECT_OFFSETOF(JSVariableObject, m_registers); }
WriteBarrierBase<Unknown>* const * addressOfRegisters() const { return &m_registers; }
static size_t offsetOfRegisters() { return OBJECT_OFFSETOF(JSVariableObject, m_registers); }
DECLARE_INFO;
DECLARE_INFO;
protected:
static const unsigned StructureFlags = Base::StructureFlags;
protected:
static const unsigned StructureFlags = Base::StructureFlags;
JSVariableObject(
VM& vm,
Structure* structure,
Register* registers,
JSScope* scope,
SharedSymbolTable* symbolTable = 0
)
: Base(vm, structure, scope, symbolTable)
, m_registers(reinterpret_cast<WriteBarrierBase<Unknown>*>(registers))
{
}
JSVariableObject(
VM& vm,
Structure* structure,
Register* registers,
JSScope* scope,
SharedSymbolTable* symbolTable = 0)
: Base(vm, structure, scope, symbolTable)
, m_registers(reinterpret_cast<WriteBarrierBase<Unknown>*>(registers))
{
}
WriteBarrierBase<Unknown>* m_registers; // "r" in the stack.
};
WriteBarrierBase<Unknown>* m_registers; // "r" in the stack.
};
} // 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