summaryrefslogtreecommitdiff
path: root/Source/JavaScriptCore/runtime/VMEntryScope.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/JavaScriptCore/runtime/VMEntryScope.h')
-rw-r--r--Source/JavaScriptCore/runtime/VMEntryScope.h16
1 files changed, 4 insertions, 12 deletions
diff --git a/Source/JavaScriptCore/runtime/VMEntryScope.h b/Source/JavaScriptCore/runtime/VMEntryScope.h
index d5ba823d0..95c60ac97 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
@@ -29,6 +29,7 @@
#include "Interpreter.h"
#include <wtf/StackBounds.h>
#include <wtf/StackStats.h>
+#include <wtf/Vector.h>
namespace JSC {
@@ -42,23 +43,14 @@ public:
JSGlobalObject* globalObject() const { return m_globalObject; }
- void setRecompilationNeeded(bool recompileNeeded) { m_recompilationNeeded = recompileNeeded; }
+ void addDidPopListener(std::function<void ()>);
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<std::function<void ()>> m_didPopListeners;
};
} // namespace JSC
#endif // VMEntryScope_h
-