Ignore:
Timestamp:
Dec 1, 2015, 5:37:19 PM (10 years ago)
Author:
[email protected]
Message:

Unreviewed, rolling out r192914.
https://bugs.webkit.org/show_bug.cgi?id=151734

JSC tests for this change are failing on 32 and 64-bit bots
(Requested by ryanhaddad on #webkit).

Reverted changeset:

"[ES6] Implement LLInt/Baseline Support for ES6 Generators and
enable this feature"
https://bugs.webkit.org/show_bug.cgi?id=150792
http://trac.webkit.org/changeset/192914

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp

    r192914 r192935  
    4444#include "JSCInlines.h"
    4545#include "JSCJSValue.h"
    46 #include "JSGeneratorFunction.h"
    4746#include "JSGlobalObjectFunctions.h"
    4847#include "JSStackInlines.h"
     
    226225    FunctionExecutable* executable = callee->jsExecutable();
    227226    CodeBlock* codeBlock = executable->codeBlockFor(kind);
    228     dataLogF("%p / %p: in %s of function %p, executable %p; numVars = %u, numParameters = %u, numCalleeLocals = %u, caller = %p.\n",
     227    dataLogF("%p / %p: in %s of function %p, executable %p; numVars = %u, numParameters = %u, numCalleeRegisters = %u, caller = %p.\n",
    229228            codeBlock, exec, comment, callee, executable,
    230             codeBlock->m_numVars, codeBlock->numParameters(), codeBlock->m_numCalleeLocals,
     229            codeBlock->m_numVars, codeBlock->numParameters(), codeBlock->m_numCalleeRegisters,
    231230            exec->callerFrame());
    232231}
     
    460459    dataLogF("Checking stack height with exec = %p.\n", exec);
    461460    dataLogF("CodeBlock = %p.\n", exec->codeBlock());
    462     dataLogF("Num callee registers = %u.\n", exec->codeBlock()->m_numCalleeLocals);
     461    dataLogF("Num callee registers = %u.\n", exec->codeBlock()->m_numCalleeRegisters);
    463462    dataLogF("Num vars = %u.\n", exec->codeBlock()->m_numVars);
    464463
     
    10431042}
    10441043
    1045 LLINT_SLOW_PATH_DECL(slow_path_new_generator_func)
    1046 {
    1047     LLINT_BEGIN();
    1048     CodeBlock* codeBlock = exec->codeBlock();
    1049     ASSERT(codeBlock->codeType() != FunctionCode || !codeBlock->needsActivation() || exec->hasActivation());
    1050     JSScope* scope = exec->uncheckedR(pc[2].u.operand).Register::scope();
    1051 #if LLINT_SLOW_PATH_TRACING
    1052     dataLogF("Creating function!\n");
    1053 #endif
    1054     LLINT_RETURN(JSGeneratorFunction::create(vm, codeBlock->functionDecl(pc[3].u.operand), scope));
    1055 }
    1056 
    10571044LLINT_SLOW_PATH_DECL(slow_path_new_func_exp)
    10581045{
     
    10641051   
    10651052    LLINT_RETURN(JSFunction::create(vm, executable, scope));
    1066 }
    1067 
    1068 LLINT_SLOW_PATH_DECL(slow_path_new_generator_func_exp)
    1069 {
    1070     LLINT_BEGIN();
    1071 
    1072     CodeBlock* codeBlock = exec->codeBlock();
    1073     JSScope* scope = exec->uncheckedR(pc[2].u.operand).Register::scope();
    1074     FunctionExecutable* executable = codeBlock->functionExpr(pc[3].u.operand);
    1075 
    1076     LLINT_RETURN(JSGeneratorFunction::create(vm, executable, scope));
    10771053}
    10781054
Note: See TracChangeset for help on using the changeset viewer.