diff options
author | Erik Verbruggen <erik.verbruggen@qt.io> | 2016-11-25 11:24:25 +0100 |
---|---|---|
committer | Lars Knoll <lars.knoll@qt.io> | 2016-11-29 15:31:33 +0000 |
commit | 58d0fc4dcf99b867d1f0bd67327105983ec36e07 (patch) | |
tree | d4c1c1579873c96c78322a9234394761c2a7dc40 /src/qml/jsruntime/qv4errorobject_p.h | |
parent | e579076bb36e6594003b2ade7f3d062944ef6f47 (diff) |
V4: Help the C++ compiler to do more DSE by inlining more code
The JS stack allocation initializes the contents, but in most cases the
caller will immediately store a value in that stack slot. When the
allocation code is inlined, the compiler can use dead store elimination
to remove the unnecessary initialization code.
Change-Id: I0495417adc7c1c8764f845032611bd506a8b7df9
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/jsruntime/qv4errorobject_p.h')
0 files changed, 0 insertions, 0 deletions