Ignore:
Timestamp:
Dec 10, 2016, 5:14:37 PM (9 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r209653, r209654, r209663, and
r209673.
https://bugs.webkit.org/show_bug.cgi?id=165739

speedometer crashes (Requested by pizlo on #webkit).

Reverted changesets:

"JSVALUE64: Pass arguments in platform argument registers when
making JavaScript calls"
https://bugs.webkit.org/show_bug.cgi?id=160355
http://trac.webkit.org/changeset/209653

"Unreviewed build fix for 32 bit builds."
http://trac.webkit.org/changeset/209654

"Unreviewed build fix for the CLOOP after r209653"
http://trac.webkit.org/changeset/209663

"REGRESSION(r209653) Crash in CallFrameShuffler::snapshot()"
https://bugs.webkit.org/show_bug.cgi?id=165728
http://trac.webkit.org/changeset/209673

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ftl/FTLOSREntry.cpp

    r209653 r209678  
    7272        dataLog("    Values at entry: ", values, "\n");
    7373   
    74     for (unsigned argument = values.numberOfArguments(); argument--;) {
    75 #if NUMBER_OF_JS_FUNCTION_ARGUMENT_REGISTERS
    76         if (argument < NUMBER_OF_JS_FUNCTION_ARGUMENT_REGISTERS)
    77             break;
    78 #endif
     74    for (int argument = values.numberOfArguments(); argument--;) {
    7975        JSValue valueOnStack = exec->r(virtualRegisterForArgument(argument).offset()).asanUnsafeJSValue();
    8076        JSValue reconstructedValue = values.argument(argument);
     
    104100   
    105101    exec->setCodeBlock(entryCodeBlock);
    106 
    107 #if NUMBER_OF_JS_FUNCTION_ARGUMENT_REGISTERS
    108     void* result = entryCode->addressForCall(RegisterArgsArityCheckNotRequired).executableAddress();
    109 #else
    110     void* result = entryCode->addressForCall(StackArgsArityCheckNotRequired).executableAddress();
    111 #endif
     102   
     103    void* result = entryCode->addressForCall(ArityCheckNotRequired).executableAddress();
    112104    if (Options::verboseOSR())
    113105        dataLog("    Entry will succeed, going to address", RawPointer(result), "\n");
Note: See TracChangeset for help on using the changeset viewer.