From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/JavaScriptCore/bytecode/SpecialPointer.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'Source/JavaScriptCore/bytecode/SpecialPointer.h') diff --git a/Source/JavaScriptCore/bytecode/SpecialPointer.h b/Source/JavaScriptCore/bytecode/SpecialPointer.h index c18a6e904..21329ec43 100644 --- a/Source/JavaScriptCore/bytecode/SpecialPointer.h +++ b/Source/JavaScriptCore/bytecode/SpecialPointer.h @@ -23,8 +23,7 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef SpecialPointer_h -#define SpecialPointer_h +#pragma once namespace JSC { @@ -41,6 +40,11 @@ enum Pointer { }; } // namespace Special +enum class LinkTimeConstant { + ThrowTypeErrorFunction, +}; +const unsigned LinkTimeConstantCount = 1; + inline bool pointerIsFunction(Special::Pointer pointer) { ASSERT_UNUSED(pointer, pointer < Special::TableSize); @@ -57,6 +61,3 @@ void* actualPointerFor(JSGlobalObject*, Special::Pointer); void* actualPointerFor(CodeBlock*, Special::Pointer); } // namespace JSC - -#endif // SpecialPointer_h - -- cgit v1.2.1