summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/JSVariableObject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/runtime/JSVariableObject.h')
-rw-r--r--Source/JavaScriptCore/runtime/JSVariableObject.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/Source/JavaScriptCore/runtime/JSVariableObject.h b/Source/JavaScriptCore/runtime/JSVariableObject.h
index c9f989e68..55952820e 100644
--- a/Source/JavaScriptCore/runtime/JSVariableObject.h
+++ b/Source/JavaScriptCore/runtime/JSVariableObject.h
@@ -60,19 +60,14 @@ namespace JSC {
JSGlobalData& globalData,
Structure* structure,
Register* registers,
- JSScope* scope
+ JSScope* scope,
+ SharedSymbolTable* symbolTable = 0
)
- : Base(globalData, structure, scope)
+ : Base(globalData, structure, scope, symbolTable)
, m_registers(reinterpret_cast<WriteBarrierBase<Unknown>*>(registers))
{
}
- void finishCreation(JSGlobalData& globalData, SharedSymbolTable* symbolTable = 0)
- {
- Base::finishCreation(globalData, symbolTable);
- COMPILE_ASSERT(sizeof(WriteBarrierBase<Unknown>) == sizeof(Register), Register_should_be_same_size_as_WriteBarrierBase);
- }
-
WriteBarrierBase<Unknown>* m_registers; // "r" in the register file.
};