Changeset 157875 in webkit


Ignore:
Timestamp:
Oct 23, 2013 11:42:52 AM (10 years ago)
Author:
msaboff@apple.com
Message:

LLInt arity check exception processing should start unwinding from caller
https://bugs.webkit.org/show_bug.cgi?id=123209

Reviewed by Oliver Hunt.

Use the caller frame returned from slow_path_call_arityCheck to process exceptions.

  • llint/LowLevelInterpreter32_64.asm:
  • llint/LowLevelInterpreter64.asm:
Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r157872 r157875  
     12013-10-23  Michael Saboff  <msaboff@apple.com>
     2
     3        LLInt arity check exception processing should start unwinding from caller
     4        https://bugs.webkit.org/show_bug.cgi?id=123209
     5
     6        Reviewed by Oliver Hunt.
     7
     8        Use the caller frame returned from slow_path_call_arityCheck to process exceptions.
     9
     10        * llint/LowLevelInterpreter32_64.asm:
     11        * llint/LowLevelInterpreter64.asm:
     12
    1132013-10-22  Filip Pizlo  <fpizlo@apple.com>
    214
  • trunk/Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm

    r157656 r157875  
    308308    cCall2(slow_path, cfr, PC)   # This slow_path has a simple protocol: t0 = 0 => no error, t0 != 0 => error
    309309    btiz t0, .isArityFixupNeeded
     310    move t1, cfr   # t1 contains caller frame
    310311    jmp _llint_throw_from_slow_path_trampoline
    311312
  • trunk/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm

    r157656 r157875  
    204204    cCall2(slow_path, cfr, PC)   # This slow_path has a simple protocol: t0 = 0 => no error, t0 != 0 => error
    205205    btiz t0, .isArityFixupNeeded
     206    move t1, cfr   # t1 contains caller frame
    206207    jmp _llint_throw_from_slow_path_trampoline
    207208
Note: See TracChangeset for help on using the changeset viewer.