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/runtime/VMEntryScope.h | 23 ++++++----------------- 1 file changed, 6 insertions(+), 17 deletions(-) (limited to 'Source/JavaScriptCore/runtime/VMEntryScope.h') diff --git a/Source/JavaScriptCore/runtime/VMEntryScope.h b/Source/JavaScriptCore/runtime/VMEntryScope.h index d5ba823d0..d37fad6d7 100644 --- a/Source/JavaScriptCore/runtime/VMEntryScope.h +++ b/Source/JavaScriptCore/runtime/VMEntryScope.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013 Apple Inc. All rights reserved. + * Copyright (C) 2013, 2014 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions @@ -23,12 +23,11 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef VMEntryScope_h -#define VMEntryScope_h +#pragma once -#include "Interpreter.h" #include #include +#include namespace JSC { @@ -40,25 +39,15 @@ public: JS_EXPORT_PRIVATE VMEntryScope(VM&, JSGlobalObject*); JS_EXPORT_PRIVATE ~VMEntryScope(); + VM& vm() const { return m_vm; } JSGlobalObject* globalObject() const { return m_globalObject; } - void setRecompilationNeeded(bool recompileNeeded) { m_recompilationNeeded = recompileNeeded; } + void addDidPopListener(std::function); private: - size_t requiredCapacity() const; - VM& m_vm; - StackStats::CheckPoint m_stackCheckPoint; - StackBounds m_stack; JSGlobalObject* m_globalObject; - - // m_prev and m_prevStackLimit may belong to a different thread's stack. - VMEntryScope* m_prev; - void* m_prevStackLimit; - bool m_recompilationNeeded; + Vector> m_didPopListeners; }; } // namespace JSC - -#endif // VMEntryScope_h - -- cgit v1.2.1