Ignore:
Timestamp:
Jan 15, 2020, 1:30:57 PM (6 years ago)
Author:
[email protected]
Message:

Revert bytecode checkpoints since it breaks watch
https://bugs.webkit.org/show_bug.cgi?id=206301

Unreviewed, revert.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/bytecode/MethodOfGettingAValueProfile.cpp

    r253896 r254632  
    4343    result.u.lazyOperand.codeBlock = codeBlock;
    4444    result.u.lazyOperand.bytecodeOffset = key.bytecodeIndex();
    45     result.u.lazyOperand.operand = key.operand();
     45    result.u.lazyOperand.operand = key.operand().offset();
    4646    return result;
    4747}
     
    5858       
    5959    case LazyOperand: {
    60         LazyOperandValueProfileKey key(u.lazyOperand.bytecodeOffset, u.lazyOperand.operand);
     60        LazyOperandValueProfileKey key(u.lazyOperand.bytecodeOffset, VirtualRegister(u.lazyOperand.operand));
    6161       
    6262        ConcurrentJSLocker locker(u.lazyOperand.codeBlock->m_lock);
     
    9292
    9393    case LazyOperand: {
    94         LazyOperandValueProfileKey key(u.lazyOperand.bytecodeOffset, u.lazyOperand.operand);
     94        LazyOperandValueProfileKey key(u.lazyOperand.bytecodeOffset, VirtualRegister(u.lazyOperand.operand));
    9595
    9696        ConcurrentJSLocker locker(u.lazyOperand.codeBlock->m_lock);
Note: See TracChangeset for help on using the changeset viewer.