aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@theqtcompany.com>2016-05-19 17:57:44 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2016-05-30 14:40:24 +0000
commit72ee8417fa2d7789e8ccd09a54db8af9b0f1c366 (patch)
tree9e79f2ebcd63f23d869ab1fb57f6d70a45e0376c
parentdbf7efde1e04ac0ff445f64438078d87eb035b68 (diff)
RegAllocInfo: Initialize member _currentStmt.
As pointed out by Coverity (CID 22368). Change-Id: I67bdda3f747b68a0197a4cb2e2aa750aa322b6ba Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
-rw-r--r--src/qml/jit/qv4regalloc.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/jit/qv4regalloc.cpp b/src/qml/jit/qv4regalloc.cpp
index d1d97c8f84..82ae60a8f0 100644
--- a/src/qml/jit/qv4regalloc.cpp
+++ b/src/qml/jit/qv4regalloc.cpp
@@ -833,6 +833,7 @@ public:
, _assignedSpillSlots(assignedSpillSlots)
, _intRegs(intRegs)
, _fpRegs(fpRegs)
+ , _currentStmt(0)
{
_unprocessed = unprocessed;
_liveAtStart.reserve(function->basicBlockCount());