Changeset 192935 in webkit for trunk/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp
- Timestamp:
- Dec 1, 2015, 5:37:19 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp
r192914 r192935 44 44 #include "JSCInlines.h" 45 45 #include "JSCJSValue.h" 46 #include "JSGeneratorFunction.h"47 46 #include "JSGlobalObjectFunctions.h" 48 47 #include "JSStackInlines.h" … … 226 225 FunctionExecutable* executable = callee->jsExecutable(); 227 226 CodeBlock* codeBlock = executable->codeBlockFor(kind); 228 dataLogF("%p / %p: in %s of function %p, executable %p; numVars = %u, numParameters = %u, numCallee Locals = %u, caller = %p.\n",227 dataLogF("%p / %p: in %s of function %p, executable %p; numVars = %u, numParameters = %u, numCalleeRegisters = %u, caller = %p.\n", 229 228 codeBlock, exec, comment, callee, executable, 230 codeBlock->m_numVars, codeBlock->numParameters(), codeBlock->m_numCallee Locals,229 codeBlock->m_numVars, codeBlock->numParameters(), codeBlock->m_numCalleeRegisters, 231 230 exec->callerFrame()); 232 231 } … … 460 459 dataLogF("Checking stack height with exec = %p.\n", exec); 461 460 dataLogF("CodeBlock = %p.\n", exec->codeBlock()); 462 dataLogF("Num callee registers = %u.\n", exec->codeBlock()->m_numCallee Locals);461 dataLogF("Num callee registers = %u.\n", exec->codeBlock()->m_numCalleeRegisters); 463 462 dataLogF("Num vars = %u.\n", exec->codeBlock()->m_numVars); 464 463 … … 1043 1042 } 1044 1043 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_TRACING1052 dataLogF("Creating function!\n");1053 #endif1054 LLINT_RETURN(JSGeneratorFunction::create(vm, codeBlock->functionDecl(pc[3].u.operand), scope));1055 }1056 1057 1044 LLINT_SLOW_PATH_DECL(slow_path_new_func_exp) 1058 1045 { … … 1064 1051 1065 1052 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));1077 1053 } 1078 1054
Note:
See TracChangeset
for help on using the changeset viewer.