Changeset 225697 in webkit for trunk/Source/JavaScriptCore


Ignore:
Timestamp:
Dec 8, 2017, 1:38:02 PM (7 years ago)
Author:
[email protected]
Message:

Need to unpoison native function pointers for CLoop.
https://bugs.webkit.org/show_bug.cgi?id=180601
<rdar://problem/35942028>

Reviewed by JF Bastien.

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

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r225695 r225697  
     12017-12-08  Mark Lam  <[email protected]>
     2
     3        Need to unpoison native function pointers for CLoop.
     4        https://bugs.webkit.org/show_bug.cgi?id=180601
     5        <rdar://problem/35942028>
     6
     7        Reviewed by JF Bastien.
     8
     9        * llint/LowLevelInterpreter64.asm:
     10
    1112017-12-08  Michael Saboff  <[email protected]>
    212
  • trunk/Source/JavaScriptCore/llint/LowLevelInterpreter64.asm

    r225659 r225697  
    20772077    checkStackPointerAlignment(t3, 0xdead0001)
    20782078    if C_LOOP
    2079         cloopCallNative executableOffsetToFunction[t1]
     2079        loadp _g_nativeCodePoison, t2
     2080        xorp executableOffsetToFunction[t1], t2
     2081        cloopCallNative t2
    20802082    else
    20812083        if X86_64_WIN
     
    21182120    checkStackPointerAlignment(t3, 0xdead0001)
    21192121    if C_LOOP
    2120         cloopCallNative offsetOfFunction[t1]
     2122        loadp _g_nativeCodePoison, t2
     2123        xorp offsetOfFunction[t1], t2
     2124        cloopCallNative t2
    21212125    else
    21222126        if X86_64_WIN
Note: See TracChangeset for help on using the changeset viewer.