diff options
author | Robin Burchell <robin.burchell@viroteck.net> | 2015-01-11 21:11:29 +0100 |
---|---|---|
committer | Erik Verbruggen <erik.verbruggen@theqtcompany.com> | 2015-01-23 13:29:57 +0100 |
commit | 43fe684d42d90dd76d7d6c946a37ec0002f703a8 (patch) | |
tree | a6b06bc39509ae9b051d11420bb7177f495e6e4a /src/qml/compiler/qv4ssa.cpp | |
parent | fc2da305171eb913eb5f3acdbe4ebd39cca2d1ac (diff) |
Move Stmt::d to Phi::d
Phi is the only thing using it.
Change-Id: I2b6706884d9e41cc26632a6ad72281b391960f4f
Reviewed-by: Erik Verbruggen <erik.verbruggen@theqtcompany.com>
Diffstat (limited to 'src/qml/compiler/qv4ssa.cpp')
-rw-r--r-- | src/qml/compiler/qv4ssa.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/compiler/qv4ssa.cpp b/src/qml/compiler/qv4ssa.cpp index 789732bf07..f42fd5228d 100644 --- a/src/qml/compiler/qv4ssa.cpp +++ b/src/qml/compiler/qv4ssa.cpp @@ -1277,7 +1277,7 @@ public: void insertPhiNode(const Temp &a, BasicBlock *y, IR::Function *f) { Phi *phiNode = f->NewStmt<Phi>(); - phiNode->d = new Stmt::Data; + phiNode->d = new Phi::Data; phiNode->targetTemp = f->New<Temp>(); phiNode->targetTemp->init(a.kind, a.index); y->prependStatement(phiNode); @@ -4532,7 +4532,7 @@ protected: clonedStmt = phi; phi->targetTemp = clone(stmt->targetTemp); - phi->d = new Stmt::Data; + phi->d = new Phi::Data; foreach (Expr *in, stmt->d->incoming) phi->d->incoming.append(clone(in)); block->appendStatement(phi); |