Ignore:
Timestamp:
Mar 1, 2013, 11:51:31 AM (12 years ago)
Author:
[email protected]
Message:

Rename MovHint to MovHintEvent so I can create a NodeType called MovHint

Rubber stamped by Mark Hahnenberg.

This is similar to the SetLocal/SetLocalEvent naming scheme, where SetLocal is the
NodeType and SetLocalEvent is the VariableEventKind.

  • dfg/DFGVariableEvent.cpp:

(JSC::DFG::VariableEvent::dump):

  • dfg/DFGVariableEvent.h:

(JSC::DFG::VariableEvent::movHint):
(JSC::DFG::VariableEvent::id):
(JSC::DFG::VariableEvent::operand):
(VariableEvent):

  • dfg/DFGVariableEventStream.cpp:

(JSC::DFG::VariableEventStream::reconstruct):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/dfg/DFGVariableEvent.h

    r140904 r144477  
    5858    Death,
    5959   
    60     // A MovHint means that a node is being associated with a bytecode operand,
     60    // A MovHintEvent means that a node is being associated with a bytecode operand,
    6161    // but that it has not been stored into that operand.
    62     MovHint,
     62    MovHintEvent,
    6363   
    6464    // A SetLocalEvent means that a node's value has actually been stored into the
     
    170170        event.m_id = id;
    171171        event.u.virtualReg = operand;
    172         event.m_kind = MovHint;
     172        event.m_kind = MovHintEvent;
    173173        return event;
    174174    }
     
    183183        ASSERT(m_kind == BirthToFill || m_kind == Fill
    184184               || m_kind == BirthToSpill || m_kind == Spill
    185                || m_kind == Death || m_kind == MovHint);
     185               || m_kind == Death || m_kind == MovHintEvent);
    186186        return m_id;
    187187    }
     
    236236    int operand() const
    237237    {
    238         ASSERT(m_kind == SetLocalEvent || m_kind == MovHint);
     238        ASSERT(m_kind == SetLocalEvent || m_kind == MovHintEvent);
    239239        return u.virtualReg;
    240240    }
     
    254254    // For BirthToSpill, Spill:
    255255    //   - The virtual register.
    256     // For MovHint, SetLocalEvent:
     256    // For MovHintEvent, SetLocalEvent:
    257257    //   - The bytecode operand.
    258258    // For Death:
Note: See TracChangeset for help on using the changeset viewer.