Ignore:
Timestamp:
Mar 3, 2011, 1:24:14 PM (14 years ago)
Author:
[email protected]
Message:

2011-03-02 Geoffrey Garen <[email protected]>

Reviewed by Darin Adler.

Moved all variable object storage inline -- upping the object size limit to 1K
https://bugs.webkit.org/show_bug.cgi?id=55653

  • JavaScriptCore.exp:
  • bytecompiler/BytecodeGenerator.cpp:
  • jit/JITOpcodes.cpp:
  • runtime/Arguments.h:
  • runtime/JSActivation.h: Removed out-of-line storage. Changed d-> to m_.
  • runtime/JSCell.h: (JSC::JSCell::MarkedSpace::sizeClassFor): Added an imprecise size class to accomodate objects up to 1K.
  • runtime/JSGlobalObject.cpp:
  • runtime/JSGlobalObject.h: Removed out-of-line storage. Changed d-> to m_.
  • runtime/JSObject.cpp: Don't ASSERT that JSFinalObject fills the maximum object size, since it doesn't anymore.
  • runtime/JSStaticScopeObject.cpp:
  • runtime/JSStaticScopeObject.h:
  • runtime/JSVariableObject.h: Removed out-of-line storage. Changed d-> to m_.
  • runtime/MarkedSpace.cpp: (JSC::MarkedSpace::MarkedSpace): (JSC::MarkedSpace::reset):
  • runtime/MarkedSpace.h: Added an imprecise size class to accomodate objects up to 1K.

2011-03-02 Geoffrey Garen <[email protected]>

Reviewed by Darin Adler.

Moved all variable object storage inline -- upping the object size limit to 1K
https://bugs.webkit.org/show_bug.cgi?id=55653

  • JSRun.cpp: (JSGlueGlobalObject::JSGlueGlobalObject):
  • JSRun.h: (JSGlueGlobalObject::Flags): (JSGlueGlobalObject::userObjectStructure): Removed out-of-line storage. Changed d-> to m_.

2011-03-02 Geoffrey Garen <[email protected]>

Reviewed by Darin Adler.

Moved all variable object storage inline -- upping the object size limit to 1K
https://bugs.webkit.org/show_bug.cgi?id=55653

  • bindings/js/JSDOMGlobalObject.cpp:
  • bindings/js/JSDOMGlobalObject.h:
  • bindings/js/JSDOMWindowBase.cpp:
  • bindings/js/JSDOMWindowBase.h:
  • bindings/js/JSDOMWindowCustom.h:
  • bindings/js/JSWorkerContextBase.cpp: Removed out-of-line storage. Changed d-> to m_.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/jit/JITOpcodes.cpp

    r79904 r80277  
    453453{
    454454    JSVariableObject* globalObject = m_codeBlock->globalObject();
    455     loadPtr(&globalObject->d->registers, regT0);
     455    loadPtr(&globalObject->m_registers, regT0);
    456456    loadPtr(Address(regT0, currentInstruction[2].u.operand * sizeof(Register)), regT0);
    457457    emitPutVirtualRegister(currentInstruction[1].u.operand);
     
    462462    emitGetVirtualRegister(currentInstruction[2].u.operand, regT1);
    463463    JSVariableObject* globalObject = m_codeBlock->globalObject();
    464     loadPtr(&globalObject->d->registers, regT0);
     464    loadPtr(&globalObject->m_registers, regT0);
    465465    storePtr(regT1, Address(regT0, currentInstruction[1].u.operand * sizeof(Register)));
    466466}
     
    484484
    485485    loadPtr(Address(regT0, OBJECT_OFFSETOF(ScopeChainNode, object)), regT0);
    486     loadPtr(Address(regT0, OBJECT_OFFSETOF(JSVariableObject, d)), regT0);
    487     loadPtr(Address(regT0, OBJECT_OFFSETOF(JSVariableObject::JSVariableObjectData, registers)), regT0);
     486    loadPtr(Address(regT0, OBJECT_OFFSETOF(JSVariableObject, m_registers)), regT0);
    488487    loadPtr(Address(regT0, currentInstruction[2].u.operand * sizeof(Register)), regT0);
    489488    emitPutVirtualRegister(currentInstruction[1].u.operand);
     
    509508
    510509    loadPtr(Address(regT1, OBJECT_OFFSETOF(ScopeChainNode, object)), regT1);
    511     loadPtr(Address(regT1, OBJECT_OFFSETOF(JSVariableObject, d)), regT1);
    512     loadPtr(Address(regT1, OBJECT_OFFSETOF(JSVariableObject::JSVariableObjectData, registers)), regT1);
     510    loadPtr(Address(regT1, OBJECT_OFFSETOF(JSVariableObject, m_registers)), regT1);
    513511    storePtr(regT0, Address(regT1, currentInstruction[1].u.operand * sizeof(Register)));
    514512}
Note: See TracChangeset for help on using the changeset viewer.