Changeset 161356 in webkit for trunk/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp
- Timestamp:
- Jan 6, 2014, 11:20:41 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/llint/LLIntSlowPaths.cpp
r161220 r161356 269 269 } 270 270 271 enum EntryKind { Prologue, ArityCheck }; 272 271 273 #if ENABLE(JIT) 272 274 inline bool shouldJIT(ExecState* exec) … … 322 324 } 323 325 324 enum EntryKind { Prologue, ArityCheck };325 326 static SlowPathReturnType entryOSR(ExecState* exec, Instruction*, CodeBlock* codeBlock, const char *name, EntryKind kind) 326 327 { … … 343 344 LLINT_RETURN_TWO(codeBlock->jitCodeWithArityCheck().executableAddress(), exec); 344 345 } 346 #else // ENABLE(JIT) 347 static SlowPathReturnType entryOSR(ExecState* exec, Instruction*, CodeBlock* codeBlock, const char*, EntryKind) 348 { 349 codeBlock->dontJITAnytimeSoon(); 350 LLINT_RETURN_TWO(0, exec); 351 } 352 #endif // ENABLE(JIT) 345 353 346 354 LLINT_SLOW_PATH_DECL(entry_osr) … … 373 381 CodeBlock* codeBlock = exec->codeBlock(); 374 382 383 #if ENABLE(JIT) 375 384 if (Options::verboseOSR()) { 376 385 dataLog( … … 399 408 400 409 LLINT_RETURN_TWO(jumpTarget, exec); 410 #else // ENABLE(JIT) 411 codeBlock->dontJITAnytimeSoon(); 412 LLINT_RETURN_TWO(0, exec); 413 #endif // ENABLE(JIT) 401 414 } 402 415 … … 405 418 CodeBlock* codeBlock = exec->codeBlock(); 406 419 420 #if ENABLE(JIT) 407 421 if (Options::verboseOSR()) { 408 422 dataLog( … … 416 430 codeBlock->dontJITAnytimeSoon(); 417 431 LLINT_END_IMPL(); 418 } 432 #else // ENABLE(JIT) 433 codeBlock->dontJITAnytimeSoon(); 434 LLINT_END_IMPL(); 419 435 #endif // ENABLE(JIT) 436 } 420 437 421 438 LLINT_SLOW_PATH_DECL(stack_check)
Note:
See TracChangeset
for help on using the changeset viewer.