summaryrefslogtreecommitdiff
path: root/src/qml/jsruntime/qv4mathobject.cpp
diff options
context:
space:
mode:
authorErik Verbruggen <erik.verbruggen@qt.io>2017-08-01 15:30:17 +0200
committerErik Verbruggen <erik.verbruggen@qt.io>2017-08-02 14:00:54 +0000
commitbc37e95445829a4e6479a7d5c5d78e93b63103d4 (patch)
tree8f41254e582679236e1b22a2f55abed730b0f4e2 /src/qml/jsruntime/qv4mathobject.cpp
parent37a43e3e00c55ac44ea79ff748e8d988fd893f7c (diff)
downloadqtdeclarative-bc37e95445829a4e6479a7d5c5d78e93b63103d4.tar.gz
Change constant loading to prevent a nullptr check
The down-cast for the constant table in the compilation unit will introduce a null-check by the compiler to prevent messing up the readjustment needed for the vtable. Change-Id: I4d2cbb82fc7a4ff296d7b091efd2169f7ed5dcc5 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4mathobject.cpp')
0 files changed, 0 insertions, 0 deletions