Changeset 35594 in webkit for trunk/JavaScriptCore/VM/Machine.cpp


Ignore:
Timestamp:
Aug 6, 2008, 3:50:07 AM (17 years ago)
Author:
[email protected]
Message:

2008-08-06 Csaba Osztrogonac <[email protected]>

Reviewed by Darin. Landed by Cameron.

Bug 20272: typo in JavaScriptCore
<https://bugs.webkit.org/show_bug.cgi?id=20272>

Correct the documentation for op_not. (typo)
Fix #undef. (typo)

  • VM/Machine.cpp: (KJS::Machine::privateExecute):
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/Machine.cpp

    r35593 r35594  
    10311031            #define ADD_OPCODE_ID(id) m_opcodeIDTable.add(&&id, id);
    10321032                FOR_EACH_OPCODE_ID(ADD_OPCODE_ID);
    1033             #undef ADD_OPCODE
     1033            #undef ADD_OPCODE_ID
    10341034            ASSERT(m_opcodeIDTable.size() == numOpcodeIDs);
    10351035            op_throw_end_indirect = &&op_throw_end;
     
    16081608    }
    16091609    BEGIN_OPCODE(op_not) {
    1610         /* not dst(r) src1(r) src2(r)
    1611 
    1612            Computes logical NOT of register src1 (converted to
     1610        /* not dst(r) src(r)
     1611
     1612           Computes logical NOT of register src (converted to
    16131613           boolean), and puts the result in register dst.
    16141614        */
Note: See TracChangeset for help on using the changeset viewer.