Ignore:
Timestamp:
Jan 15, 2020, 1:30:57 PM (5 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/dfg/DFGOperations.cpp

    r254252 r254632  
    29722972}
    29732973
    2974 void JIT_OPERATION operationLoadVarargs(JSGlobalObject* globalObject, int32_t firstElementDest, EncodedJSValue encodedArguments, uint32_t offset, uint32_t lengthIncludingThis, uint32_t mandatoryMinimum)
    2975 {
    2976     VirtualRegister firstElement { firstElementDest };
     2974void JIT_OPERATION operationLoadVarargs(JSGlobalObject* globalObject, int32_t firstElementDest, EncodedJSValue encodedArguments, uint32_t offset, uint32_t length, uint32_t mandatoryMinimum)
     2975{
    29772976    VM& vm = globalObject->vm();
    29782977    CallFrame* callFrame = DECLARE_CALL_FRAME(vm);
     
    29802979    JSValue arguments = JSValue::decode(encodedArguments);
    29812980   
    2982     loadVarargs(globalObject, bitwise_cast<JSValue*>(&callFrame->r(firstElement)), arguments, offset, lengthIncludingThis - 1);
    2983    
    2984     for (uint32_t i = lengthIncludingThis - 1; i < mandatoryMinimum; ++i)
    2985         callFrame->r(firstElement + i) = jsUndefined();
     2981    loadVarargs(globalObject, callFrame, VirtualRegister(firstElementDest), arguments, offset, length);
     2982   
     2983    for (uint32_t i = length; i < mandatoryMinimum; ++i)
     2984        callFrame->r(firstElementDest + i) = jsUndefined();
    29862985}
    29872986
Note: See TracChangeset for help on using the changeset viewer.