diff options
author | Lars Knoll <lars.knoll@qt.io> | 2017-08-15 11:31:20 +0200 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2017-08-25 11:49:59 +0000 |
commit | 6d482415a23b59794c2a20297e50798d91ae40ff (patch) | |
tree | 4abd02b6f3cd9d2c5d26ac2472b9249355eafaed /src/qml/jsruntime/qv4context_p.h | |
parent | dcbc28cf28980aa35e8a430254b980c606be865f (diff) |
New value type encoding
Switch to a more efficient encoding of Values. This makes
the type() determination easier and faster than before, and
should allow us to optimize comparison operations better.
Change-Id: I22106262cea052ae1887f42a957860ee00b450e6
Reviewed-by: Erik Verbruggen <erik.verbruggen@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4context_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4context_p.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h index d18b9a13a5..f5ecc3ba1d 100644 --- a/src/qml/jsruntime/qv4context_p.h +++ b/src/qml/jsruntime/qv4context_p.h @@ -164,7 +164,6 @@ DECLARE_HEAP_OBJECT(CallContext, ExecutionContext) { V4_ASSERT_IS_TRIVIAL(CallContext) Q_STATIC_ASSERT(std::is_standard_layout<CallContextData>::value); Q_STATIC_ASSERT(offsetof(CallContextData, function) == 0); -Q_STATIC_ASSERT(offsetof(CallContextData, locals) == offsetof(CallContextData, function) + QT_POINTER_SIZE); //### The following size check fails on Win8. With the ValueArray at the end of the // CallContextMembers, it doesn't look very useful. //#if defined(Q_PROCESSOR_ARM_32) && !defined(Q_OS_IOS) |