Ignore:
Timestamp:
Jan 4, 2010, 3:38:56 AM (15 years ago)
Author:
[email protected]
Message:

2010-01-04 Maciej Stachowiak <[email protected]>

Reviewed by Adam Barth.

Reorganize, document and rename CPU() platform macros.
https://bugs.webkit.org/show_bug.cgi?id=33145
ExecutableAllocatorSymbian appears to have buggy ARM version check
https://bugs.webkit.org/show_bug.cgi?id=33138


  • wtf/Platform.h: Rename all macros related to detection of particular CPUs or classes of CPUs to CPU(), reorganize and document them.

All remaining changes are adapting to the renames, plus fixing the
second bug cited above.


  • assembler/ARMAssembler.cpp:
  • assembler/ARMAssembler.h:
  • assembler/ARMv7Assembler.h:
  • assembler/AbstractMacroAssembler.h: (JSC::AbstractMacroAssembler::Imm32::Imm32):
  • assembler/MacroAssembler.h:
  • assembler/MacroAssemblerARM.cpp:
  • assembler/MacroAssemblerARM.h:
  • assembler/MacroAssemblerCodeRef.h: (JSC::MacroAssemblerCodePtr::MacroAssemblerCodePtr):
  • assembler/MacroAssemblerX86.h:
  • assembler/MacroAssemblerX86Common.h:
  • assembler/MacroAssemblerX86_64.h:
  • assembler/X86Assembler.h: (JSC::X86Registers::): (JSC::X86Assembler::): (JSC::X86Assembler::movl_mEAX): (JSC::X86Assembler::movl_EAXm): (JSC::X86Assembler::repatchLoadPtrToLEA): (JSC::X86Assembler::X86InstructionFormatter::memoryModRM):
  • jit/ExecutableAllocator.h:
  • jit/ExecutableAllocatorFixedVMPool.cpp:
  • jit/ExecutableAllocatorPosix.cpp:
  • jit/ExecutableAllocatorSymbian.cpp: (JSC::ExecutableAllocator::intializePageSize):
  • jit/JIT.cpp:
  • jit/JIT.h:
  • jit/JITArithmetic.cpp:
  • jit/JITInlineMethods.h: (JSC::JIT::beginUninterruptedSequence): (JSC::JIT::restoreArgumentReferenceForTrampoline): (JSC::JIT::emitCount):
  • jit/JITOpcodes.cpp: (JSC::JIT::privateCompileCTIMachineTrampolines):
  • jit/JITPropertyAccess.cpp: (JSC::JIT::privateCompileGetByIdProto): (JSC::JIT::privateCompileGetByIdProtoList): (JSC::JIT::privateCompileGetByIdChainList): (JSC::JIT::privateCompileGetByIdChain):
  • jit/JITStubs.cpp: (JSC::JITThunks::JITThunks):
  • jit/JITStubs.h:
  • runtime/Collector.cpp: (JSC::currentThreadStackBase): (JSC::getPlatformThreadRegisters): (JSC::otherThreadStackPointer):
  • wrec/WREC.h:
  • wrec/WRECGenerator.cpp: (JSC::WREC::Generator::generateEnter): (JSC::WREC::Generator::generateReturnSuccess): (JSC::WREC::Generator::generateReturnFailure):
  • wrec/WRECGenerator.h:
  • wtf/FastMalloc.cpp:
  • wtf/TCSpinLock.h: (TCMalloc_SpinLock::Lock): (TCMalloc_SpinLock::Unlock): (TCMalloc_SlowLock):
  • wtf/Threading.h:
  • wtf/dtoa.cpp:
  • yarr/RegexJIT.cpp: (JSC::Yarr::RegexGenerator::generateEnter): (JSC::Yarr::RegexGenerator::generateReturn):
  • yarr/RegexJIT.h:

2010-01-04 Maciej Stachowiak <[email protected]>

Reviewed by Adam Barth.

Reorganize, document and rename CPU() platform macros.
https://bugs.webkit.org/show_bug.cgi?id=33145

  • webkit/webkitwebsettings.cpp: (webkit_get_user_agent):

2010-01-04 Maciej Stachowiak <[email protected]>

Reviewed by Adam Barth.

Reorganize, document and rename CPU() platform macros.
https://bugs.webkit.org/show_bug.cgi?id=33145

  • page/NavigatorBase.cpp:
  • platform/text/AtomicString.cpp: (WebCore::equal):
  • platform/text/StringHash.h: (WebCore::StringHash::equal):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/jit/JITPropertyAccess.cpp

    r50982 r52729  
    731731    // Check the prototype object's Structure had not changed.
    732732    Structure** prototypeStructureAddress = &(protoObject->m_structure);
    733 #if PLATFORM(X86_64)
     733#if CPU(X86_64)
    734734    move(ImmPtr(prototypeStructure), regT3);
    735735    Jump failureCases2 = branchPtr(NotEqual, AbsoluteAddress(prototypeStructureAddress), regT3);
     
    811811    // Check the prototype object's Structure had not changed.
    812812    Structure** prototypeStructureAddress = &(protoObject->m_structure);
    813 #if PLATFORM(X86_64)
     813#if CPU(X86_64)
    814814    move(ImmPtr(prototypeStructure), regT3);
    815815    Jump failureCases2 = branchPtr(NotEqual, AbsoluteAddress(prototypeStructureAddress), regT3);
     
    864864        // Check the prototype object's Structure had not changed.
    865865        Structure** prototypeStructureAddress = &(protoObject->m_structure);
    866 #if PLATFORM(X86_64)
     866#if CPU(X86_64)
    867867        move(ImmPtr(currStructure), regT3);
    868868        bucketsOfFail.append(branchPtr(NotEqual, AbsoluteAddress(prototypeStructureAddress), regT3));
     
    919919        // Check the prototype object's Structure had not changed.
    920920        Structure** prototypeStructureAddress = &(protoObject->m_structure);
    921 #if PLATFORM(X86_64)
     921#if CPU(X86_64)
    922922        move(ImmPtr(currStructure), regT3);
    923923        bucketsOfFail.append(branchPtr(NotEqual, AbsoluteAddress(prototypeStructureAddress), regT3));
     
    16771677    // Check the prototype object's Structure had not changed.
    16781678    Structure** prototypeStructureAddress = &(protoObject->m_structure);
    1679 #if PLATFORM(X86_64)
     1679#if CPU(X86_64)
    16801680    move(ImmPtr(prototypeStructure), regT3);
    16811681    Jump failureCases2 = branchPtr(NotEqual, AbsoluteAddress(prototypeStructureAddress), regT3);
     
    17521752    // Check the prototype object's Structure had not changed.
    17531753    Structure** prototypeStructureAddress = &(protoObject->m_structure);
    1754 #if PLATFORM(X86_64)
     1754#if CPU(X86_64)
    17551755    move(ImmPtr(prototypeStructure), regT3);
    17561756    Jump failureCases2 = branchPtr(NotEqual, AbsoluteAddress(prototypeStructureAddress), regT3);
     
    18051805        // Check the prototype object's Structure had not changed.
    18061806        Structure** prototypeStructureAddress = &(protoObject->m_structure);
    1807 #if PLATFORM(X86_64)
     1807#if CPU(X86_64)
    18081808        move(ImmPtr(currStructure), regT3);
    18091809        bucketsOfFail.append(branchPtr(NotEqual, AbsoluteAddress(prototypeStructureAddress), regT3));
     
    18581858        // Check the prototype object's Structure had not changed.
    18591859        Structure** prototypeStructureAddress = &(protoObject->m_structure);
    1860 #if PLATFORM(X86_64)
     1860#if CPU(X86_64)
    18611861        move(ImmPtr(currStructure), regT3);
    18621862        bucketsOfFail.append(branchPtr(NotEqual, AbsoluteAddress(prototypeStructureAddress), regT3));
Note: See TracChangeset for help on using the changeset viewer.