Ignore:
Timestamp:
Nov 3, 2011, 1:21:45 PM (14 years ago)
Author:
[email protected]
Message:

JIT-specific code should be able to refer to register types even on JIT-disabled builds
https://bugs.webkit.org/show_bug.cgi?id=71498

Reviewed by Gavin Barraclough.

  • assembler/MacroAssembler.h:

(MacroAssembler::MacroAssembler):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/assembler/MacroAssembler.h

    r96169 r99232  
    386386        return MacroAssemblerBase::branchTest8(cond, Address(address.base, address.offset), mask);
    387387    }
    388 #endif
     388#endif // !CPU(X86_64)
    389389
    390390};
     
    392392} // namespace JSC
    393393
     394#else // ENABLE(ASSEMBLER)
     395
     396// If there is no assembler for this platform, at least allow code to make references to
     397// some of the things it would otherwise define, albeit without giving that code any way
     398// of doing anything useful.
     399class MacroAssembler {
     400private:
     401    MacroAssembler() { }
     402   
     403public:
     404   
     405    enum RegisterID { NoRegister };
     406    enum FPRegisterID { NoFPRegister };
     407};
     408
    394409#endif // ENABLE(ASSEMBLER)
    395410
Note: See TracChangeset for help on using the changeset viewer.