Changeset 207765 in webkit


Ignore:
Timestamp:
Oct 24, 2016 10:53:40 AM (7 years ago)
Author:
mark.lam@apple.com
Message:

Dumping of op_negate bytecode is broken.
https://bugs.webkit.org/show_bug.cgi?id=163896

Reviewed by Darin Adler.

It thinks the bytecode consists of only 3 machine words, when it consists of 4.
This is now fixed.

  • bytecode/CodeBlock.cpp:

(JSC::CodeBlock::dumpBytecode):

Location:
trunk/Source/JavaScriptCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r207762 r207765  
     12016-10-24  Mark Lam  <mark.lam@apple.com>
     2
     3        Dumping of op_negate bytecode is broken.
     4        https://bugs.webkit.org/show_bug.cgi?id=163896
     5
     6        Reviewed by Darin Adler.
     7
     8        It thinks the bytecode consists of only 3 machine words, when it consists of 4.
     9        This is now fixed.
     10
     11        * bytecode/CodeBlock.cpp:
     12        (JSC::CodeBlock::dumpBytecode):
     13
    1142016-10-24  Youenn Fablet  <youenn@apple.com>
    215
  • trunk/Source/JavaScriptCore/bytecode/CodeBlock.cpp

    r207653 r207765  
    10001000        case op_negate: {
    10011001            printUnaryOp(out, exec, location, it, "negate");
     1002            ++it; // op_negate has an extra operand for the ArithProfile.
    10021003            break;
    10031004        }
Note: See TracChangeset for help on using the changeset viewer.