Changeset 228736 in webkit
- Timestamp:
- Feb 19, 2018 11:26:48 PM (6 years ago)
- Location:
- releases/WebKitGTK/webkit-2.20/Source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.20/Source/JavaScriptCore/ChangeLog
r228734 r228736 1 2018-02-12 Mark Lam <mark.lam@apple.com> 2 3 Add more support for pointer preparations. 4 https://bugs.webkit.org/show_bug.cgi?id=182703 5 <rdar://problem/37469451> 6 7 Reviewed by Saam Barati. 8 9 * llint/LLIntData.h: 10 (JSC::LLInt::getCodePtr): 11 * llint/LLIntPCRanges.h: 12 (JSC::LLInt::isLLIntPC): 13 * runtime/Options.cpp: 14 (JSC::recomputeDependentOptions): 15 1 16 2018-02-12 Mark Lam <mark.lam@apple.com> 2 17 -
releases/WebKitGTK/webkit-2.20/Source/JavaScriptCore/llint/LLIntData.h
r206525 r228736 1 1 /* 2 * Copyright (C) 2011 , 2016Apple Inc. All rights reserved.2 * Copyright (C) 2011-2018 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 29 29 #include "Opcode.h" 30 30 #include <array> 31 #include <wtf/PointerPreparations.h> 31 32 32 33 namespace JSC { … … 113 114 ALWAYS_INLINE void* getCodePtr(JSC::EncodedJSValue glueHelper()) 114 115 { 115 return bitwise_cast<void*>(glueHelper);116 return WTF_PREPARE_FUNCTION_POINTER_FOR_EXECUTION(glueHelper); 116 117 } 117 118 -
releases/WebKitGTK/webkit-2.20/Source/JavaScriptCore/llint/LLIntPCRanges.h
r206525 r228736 1 1 /* 2 * Copyright (C) 2016 Apple Inc. All rights reserved.2 * Copyright (C) 2016-2018 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 26 26 #pragma once 27 27 28 #include <wtf/PointerPreparations.h> 29 28 30 namespace JSC { 29 31 … … 39 41 { 40 42 uintptr_t pcAsInt = bitwise_cast<uintptr_t>(pc); 41 uintptr_t llintStart = bitwise_cast<uintptr_t>( llintPCRangeStart);42 uintptr_t llintEnd = bitwise_cast<uintptr_t>( llintPCRangeEnd);43 uintptr_t llintStart = bitwise_cast<uintptr_t>(WTF_PREPARE_FUNCTION_POINTER_FOR_EXECUTION(llintPCRangeStart)); 44 uintptr_t llintEnd = bitwise_cast<uintptr_t>(WTF_PREPARE_FUNCTION_POINTER_FOR_EXECUTION(llintPCRangeEnd)); 43 45 RELEASE_ASSERT(llintStart < llintEnd); 44 46 return llintStart <= pcAsInt && pcAsInt <= llintEnd; -
releases/WebKitGTK/webkit-2.20/Source/JavaScriptCore/runtime/Options.cpp
r225618 r228736 1 1 /* 2 * Copyright (C) 2011-201 7Apple Inc. All rights reserved.2 * Copyright (C) 2011-2018 Apple Inc. All rights reserved. 3 3 * 4 4 * Redistribution and use in source and binary forms, with or without … … 42 42 #include <wtf/DataLog.h> 43 43 #include <wtf/NumberOfCores.h> 44 #include <wtf/PointerPreparations.h> 44 45 #include <wtf/StdLibExtras.h> 45 46 #include <wtf/text/StringBuilder.h> … … 401 402 Options::useJIT() = false; 402 403 #endif 404 405 WTF_SET_POINTER_PREPARATION_OPTIONS(); 403 406 404 407 if (!Options::useJIT()) -
releases/WebKitGTK/webkit-2.20/Source/WTF/ChangeLog
r228636 r228736 1 2018-02-12 Mark Lam <mark.lam@apple.com> 2 3 Add more support for pointer preparations. 4 https://bugs.webkit.org/show_bug.cgi?id=182703 5 <rdar://problem/37469451> 6 7 Reviewed by Saam Barati. 8 9 * wtf/PointerPreparations.h: 10 1 11 2018-02-06 Fujii Hironori <Hironori.Fujii@sony.com> 2 12 -
releases/WebKitGTK/webkit-2.20/Source/WTF/wtf/PointerPreparations.h
r227701 r228736 30 30 #endif 31 31 32 #ifndef WTF_PREPARE_FUNCTION_POINTER_FOR_EXECUTION 33 #define WTF_PREPARE_FUNCTION_POINTER_FOR_EXECUTION(vtblPtr) (reinterpret_cast<void*>(vtblPtr)) 34 #endif 35 32 36 #ifndef WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION 33 37 #define WTF_PREPARE_VTBL_POINTER_FOR_INSPECTION(vtblPtr) (reinterpret_cast<void*>(vtblPtr)) 34 38 #endif 39 40 #ifndef WTF_SET_POINTER_PREPARATION_OPTIONS 41 #define WTF_SET_POINTER_PREPARATION_OPTIONS() do { } while (false) 42 #endif 43
Note: See TracChangeset
for help on using the changeset viewer.