Ignore:
Timestamp:
Nov 4, 2009, 7:04:39 PM (16 years ago)
Author:
[email protected]
Message:

Rubber Stamped by Mark Rowe, Oliver Hunt, and Sam Weinig.

Patch by Gavin Barraclough <[email protected]> on 2009-11-04
Add a missing assert to the ARMv7 JIT.

  • assembler/ARMv7Assembler.h:

(JSC::ARMThumbImmediate::ARMThumbImmediate):

File:
1 edited

Legend:

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

    r50255 r50539  
    237237        : m_type(TypeUInt16)
    238238    {
     239        // Make sure this constructor is only reached with type TypeUInt16;
     240        // this extra parameter makes the code a little clearer by making it
     241        // explicit at call sites which type is being constructed
     242        ASSERT_UNUSED(type, type == TypeUInt16);
     243
    239244        m_value.asInt = value;
    240245    }
Note: See TracChangeset for help on using the changeset viewer.