diff options
| author | Erik Verbruggen <erik.verbruggen@digia.com> | 2016-05-03 12:49:59 +0200 |
|---|---|---|
| committer | Erik Verbruggen <erik.verbruggen@qt.io> | 2016-06-08 11:48:45 +0000 |
| commit | c3241f99cf80ff1e9bdd45f67516d5d22fe8821d (patch) | |
| tree | 449fbf122dd4ec0afbe669076f528e83dd1e5bb7 /src/qml/compiler/qv4isel_moth.cpp | |
| parent | 950994cab62816dfbcba3a1c9f8304ddd24bb726 (diff) | |
V4: Change uses of StmtVisitor/ExprVisitor to use new style visitors.
Change-Id: I668c829bf04e0e16ed94db169507cc5290deec50
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/compiler/qv4isel_moth.cpp')
| -rw-r--r-- | src/qml/compiler/qv4isel_moth.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/compiler/qv4isel_moth.cpp b/src/qml/compiler/qv4isel_moth.cpp index b452c4b3d9..967dca13a1 100644 --- a/src/qml/compiler/qv4isel_moth.cpp +++ b/src/qml/compiler/qv4isel_moth.cpp @@ -252,7 +252,7 @@ protected: _unhandled.removeLast(); } - s->accept(this); + visit(s); } if (IR::Jump *jump = s->asJump()) { @@ -275,7 +275,7 @@ protected: moves.order(); QList<IR::Move *> newMoves = moves.insertMoves(_currentBasicBlock, _function, true); foreach (IR::Move *move, newMoves) - move->accept(this); + visit(move); } } @@ -425,7 +425,7 @@ void InstructionSelection::run(int functionIndex) } } - s->accept(this); + visit(s); } } |
