diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2016-12-01 15:10:56 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2016-12-06 09:30:42 +0000 |
commit | df398d105b4e0c5ecc4f62c9895f11b949d3d8e4 (patch) | |
tree | c5ea049dd0d55d4e197e93704125b93bcce3cb37 /src/qml/compiler/qv4compileddata_p.h | |
parent | f5c2cb4d9860c2f0d57dbae25c30d5d482c5281a (diff) |
V4: Simplify strict-mode setting on call context objects
Previously this required an extra shift to move the bit to the lsb.
Change-Id: I04674c3bad34d60af13728fe9a7dd120a188c26f
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4compileddata_p.h')
-rw-r--r-- | src/qml/compiler/qv4compileddata_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/compiler/qv4compileddata_p.h b/src/qml/compiler/qv4compileddata_p.h index 90cbe04505..a6cdf4bf43 100644 --- a/src/qml/compiler/qv4compileddata_p.h +++ b/src/qml/compiler/qv4compileddata_p.h @@ -207,9 +207,9 @@ struct String struct Function { enum Flags : unsigned int { - HasDirectEval = 0x1, - UsesArgumentsObject = 0x2, - IsStrict = 0x4, + IsStrict = 0x1, + HasDirectEval = 0x2, + UsesArgumentsObject = 0x4, IsNamedExpression = 0x8, HasCatchOrWith = 0x10 }; |