aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2014-11-12 14:12:40 +0100
committerSimon Hausmann <simon.hausmann@digia.com>2014-11-15 13:16:35 +0100
commitb3c00b7df3fc5cec968b8b9eb65a03b9dc0cb7dc (patch)
treec73359401390668e1e1fa358d4c2b40e6c81a78e
parent3dc7b5ddf6de5d9d000f443170d9a33e3d32bda3 (diff)
Cleanup qv4executionengine header
Change-Id: I7312005a8d8e301ab4d8960c5f7579ace0a19a73 Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
-rw-r--r--src/qml/jsruntime/qv4engine_p.h46
-rw-r--r--src/qml/jsruntime/qv4global_p.h10
2 files changed, 10 insertions, 46 deletions
diff --git a/src/qml/jsruntime/qv4engine_p.h b/src/qml/jsruntime/qv4engine_p.h
index d3c0cf43d0..de6cc53770 100644
--- a/src/qml/jsruntime/qv4engine_p.h
+++ b/src/qml/jsruntime/qv4engine_p.h
@@ -59,52 +59,6 @@ namespace CompiledData {
struct CompilationUnit;
}
-struct Function;
-struct Object;
-struct BooleanObject;
-struct NumberObject;
-struct StringObject;
-struct ArrayObject;
-struct DateObject;
-struct FunctionObject;
-struct BoundFunction;
-struct RegExpObject;
-struct ErrorObject;
-struct SyntaxErrorObject;
-struct ArgumentsObject;
-struct ExecutionContext;
-struct ExecutionEngine;
-class MemoryManager;
-class ExecutableAllocator;
-
-struct ObjectPrototype;
-struct StringPrototype;
-struct NumberPrototype;
-struct BooleanPrototype;
-struct ArrayPrototype;
-struct FunctionPrototype;
-struct DatePrototype;
-struct RegExpPrototype;
-struct ErrorPrototype;
-struct EvalErrorPrototype;
-struct RangeErrorPrototype;
-struct ReferenceErrorPrototype;
-struct SyntaxErrorPrototype;
-struct TypeErrorPrototype;
-struct URIErrorPrototype;
-struct VariantPrototype;
-struct SequencePrototype;
-struct EvalFunction;
-struct IdentifierTable;
-struct InternalClass;
-struct InternalClassPool;
-class MultiplyWrappedQObjectMap;
-struct RegExp;
-class RegExpCache;
-struct QmlExtensions;
-struct Exception;
-struct ExecutionContextSaver;
-
#define CHECK_STACK_LIMITS(v4) \
if ((v4->jsStackTop <= v4->jsStackLimit) && (reinterpret_cast<quintptr>(&v4) >= v4->cStackLimit || v4->recheckCStackLimits())) {} \
else \
diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h
index 6119bed3ec..61cd53cd61 100644
--- a/src/qml/jsruntime/qv4global_p.h
+++ b/src/qml/jsruntime/qv4global_p.h
@@ -138,10 +138,13 @@ namespace Heap {
struct ArgumentsObject;
struct QObjectWrapper;
struct RegExpObject;
+ struct RegExp;
+ struct EvalFunction;
struct ArrayBuffer;
struct DataView;
struct TypedArray;
+
}
class MemoryManager;
@@ -171,6 +174,9 @@ struct ArgumentsObject;
struct Managed;
struct ExecutionEngine;
struct QObjectWrapper;
+struct RegExpObject;
+struct RegExp;
+struct EvalFunction;
struct ArrayBuffer;
struct DataView;
@@ -196,6 +202,10 @@ struct PersistentValuePrivate;
class PersistentValue;
class WeakValue;
+struct IdentifierTable;
+class RegExpCache;
+class MultiplyWrappedQObjectMap;
+struct QmlExtensions;
namespace Global {
enum {