Changeset 111739 in webkit for trunk/Source/JavaScriptCore/llint
- Timestamp:
- Mar 22, 2012, 11:54:50 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp
r111244 r111739 190 190 static void traceFunctionPrologue(ExecState* exec, const char* comment, CodeSpecializationKind kind) 191 191 { 192 JSFunction* callee = asFunction(exec->callee());192 JSFunction* callee = jsCast<JSFunction*>(exec->callee()); 193 193 FunctionExecutable* executable = callee->jsExecutable(); 194 194 CodeBlock* codeBlock = &executable->generatedBytecodeFor(kind); … … 317 317 LLINT_SLOW_PATH_DECL(entry_osr_function_for_call) 318 318 { 319 return entryOSR(exec, pc, & asFunction(exec->callee())->jsExecutable()->generatedBytecodeFor(CodeForCall), "entry_osr_function_for_call", Prologue);319 return entryOSR(exec, pc, &jsCast<JSFunction*>(exec->callee())->jsExecutable()->generatedBytecodeFor(CodeForCall), "entry_osr_function_for_call", Prologue); 320 320 } 321 321 322 322 LLINT_SLOW_PATH_DECL(entry_osr_function_for_construct) 323 323 { 324 return entryOSR(exec, pc, & asFunction(exec->callee())->jsExecutable()->generatedBytecodeFor(CodeForConstruct), "entry_osr_function_for_construct", Prologue);324 return entryOSR(exec, pc, &jsCast<JSFunction*>(exec->callee())->jsExecutable()->generatedBytecodeFor(CodeForConstruct), "entry_osr_function_for_construct", Prologue); 325 325 } 326 326 327 327 LLINT_SLOW_PATH_DECL(entry_osr_function_for_call_arityCheck) 328 328 { 329 return entryOSR(exec, pc, & asFunction(exec->callee())->jsExecutable()->generatedBytecodeFor(CodeForCall), "entry_osr_function_for_call_arityCheck", ArityCheck);329 return entryOSR(exec, pc, &jsCast<JSFunction*>(exec->callee())->jsExecutable()->generatedBytecodeFor(CodeForCall), "entry_osr_function_for_call_arityCheck", ArityCheck); 330 330 } 331 331 332 332 LLINT_SLOW_PATH_DECL(entry_osr_function_for_construct_arityCheck) 333 333 { 334 return entryOSR(exec, pc, & asFunction(exec->callee())->jsExecutable()->generatedBytecodeFor(CodeForConstruct), "entry_osr_function_for_construct_arityCheck", ArityCheck);334 return entryOSR(exec, pc, &jsCast<JSFunction*>(exec->callee())->jsExecutable()->generatedBytecodeFor(CodeForConstruct), "entry_osr_function_for_construct_arityCheck", ArityCheck); 335 335 } 336 336 … … 453 453 { 454 454 LLINT_BEGIN(); 455 JSFunction* constructor = asFunction(exec->callee());455 JSFunction* constructor = jsCast<JSFunction*>(exec->callee()); 456 456 457 457 #if !ASSERT_DISABLED … … 1311 1311 return handleHostCall(execCallee, pc, calleeAsValue, kind); 1312 1312 1313 JSFunction* callee = asFunction(calleeAsFunctionCell);1313 JSFunction* callee = jsCast<JSFunction*>(calleeAsFunctionCell); 1314 1314 ScopeChainNode* scope = callee->scopeUnchecked(); 1315 1315 JSGlobalData& globalData = *scope->globalData;
Note:
See TracChangeset
for help on using the changeset viewer.