Changeset 48445 in webkit for trunk/JavaScriptCore/assembler


Ignore:
Timestamp:
Sep 16, 2009, 4:23:00 PM (16 years ago)
Author:
[email protected]
Message:

2009-09-16 Gabor Loki <[email protected]>

Reviewed by Darin Adler.

Fix GCC warnings on ARM_THUMB2 platform

  • assembler/ARMv7Assembler.h: (JSC::ARMThumbImmediate::countLeadingZerosPartial):
  • assembler/MacroAssemblerARMv7.h: (JSC::MacroAssemblerARMv7::branchTruncateDoubleToInt32): (JSC::MacroAssemblerARMv7::moveFixedWidthEncoding):
Location:
trunk/JavaScriptCore/assembler
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/assembler/ARMv7Assembler.h

    r47530 r48445  
    200200    } PatternBytes;
    201201
    202     ALWAYS_INLINE static int32_t countLeadingZerosPartial(uint32_t& value, int32_t& zeros, const int N)
     202    ALWAYS_INLINE static void countLeadingZerosPartial(uint32_t& value, int32_t& zeros, const int N)
    203203    {
    204204        if (value & ~((1<<N)-1)) /* check for any of the top N bits (of 2N bits) are set */ \
  • trunk/JavaScriptCore/assembler/MacroAssemblerARMv7.h

    r47530 r48445  
    533533    {
    534534        ASSERT_NOT_REACHED();
     535        return jump();
    535536    }
    536537
     
    10391040    }
    10401041
    1041     DataLabel32 moveFixedWidthEncoding(Imm32 imm, RegisterID dst)
     1042    void moveFixedWidthEncoding(Imm32 imm, RegisterID dst)
    10421043    {
    10431044        uint32_t value = imm.m_value;
Note: See TracChangeset for help on using the changeset viewer.