From eb2c08f57493aa12850e6cddff2cc3527e7cbfd7 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 7 Aug 2017 14:43:03 +0200 Subject: Get rid of ExecutionContext::strictMode This should be done by generating different byte code for the strict/non strict cases. For now the VME has a workaround checking the isStrict() flag of QV4::Function. Change-Id: I2faa9e9184ffc5274491067e67f665d6989b54c2 Reviewed-by: Simon Hausmann --- src/qml/jsruntime/qv4context_p.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/qml/jsruntime/qv4context_p.h') diff --git a/src/qml/jsruntime/qv4context_p.h b/src/qml/jsruntime/qv4context_p.h index 67f50e5c25..44c434e637 100644 --- a/src/qml/jsruntime/qv4context_p.h +++ b/src/qml/jsruntime/qv4context_p.h @@ -128,11 +128,10 @@ DECLARE_HEAP_OBJECT(ExecutionContext, Base) { } quint8 type; - bool strictMode : 8; #if QT_POINTER_SIZE == 8 - quint8 padding_[6]; + quint8 padding_[7]; #else - quint8 padding_[2]; + quint8 padding_[3]; #endif }; V4_ASSERT_IS_TRIVIAL(ExecutionContext) -- cgit v1.2.3