Ignore:
Timestamp:
Mar 1, 2012, 10:28:45 PM (13 years ago)
Author:
Csaba Osztrogonác
Message:

The JIT should not crash the entire process just because there is not enough executable
memory, if the LLInt is enabled
https://bugs.webkit.org/show_bug.cgi?id=79962

Patch by Filip Pizlo <[email protected]> on 2012-03-01
Reviewed by Csaba Osztrogonác.

Fix for ARM, SH4.

  • assembler/AssemblerBufferWithConstantPool.h:

(JSC::AssemblerBufferWithConstantPool::executableCopy):

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/assembler/AssemblerBufferWithConstantPool.h

    r105636 r109511  
    196196    }
    197197
    198     PassRefPtr<ExecutableMemoryHandle> executableCopy(JSGlobalData& globalData, void* ownerUID)
     198    PassRefPtr<ExecutableMemoryHandle> executableCopy(JSGlobalData& globalData, void* ownerUID, JITCompilationEffort effort)
    199199    {
    200200        flushConstantPool(false);
    201         return AssemblerBuffer::executableCopy(globalData, ownerUID);
     201        return AssemblerBuffer::executableCopy(globalData, ownerUID, effort);
    202202    }
    203203
Note: See TracChangeset for help on using the changeset viewer.