From 68004b3f498adcd9ec0e748dec2b5478e4229c6b Mon Sep 17 00:00:00 2001 From: Stefano Sanfilippo Date: Fri, 6 Mar 2015 13:41:27 +0100 Subject: [PATCH] Reordering methods in iface Emittable (minor, cosmetic). --- BitcodeEmitter.hpp | 2 +- CppEmitter.hpp | 2 +- Emitter.hpp | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/BitcodeEmitter.hpp b/BitcodeEmitter.hpp index ec8d14e..a9af889 100644 --- a/BitcodeEmitter.hpp +++ b/BitcodeEmitter.hpp @@ -42,7 +42,6 @@ public: virtual void emit(Input const&) override; virtual void emit(Abort const&) override; virtual void emit(Assert const&) override; - virtual void emit(FunctionCall const&) override; virtual void emit(Branch const&) override; virtual void emit(Function const&) override; virtual void emit(Module const&) override; @@ -51,6 +50,7 @@ public: virtual void emit(Id const&) override; virtual void emit(Integer const&) override; virtual void emit(Float const&) override; + virtual void emit(FunctionCall const&) override; virtual void emit(BinaryExpression const&) override; private: diff --git a/CppEmitter.hpp b/CppEmitter.hpp index 13842c0..0e5b14c 100644 --- a/CppEmitter.hpp +++ b/CppEmitter.hpp @@ -39,12 +39,12 @@ public: virtual void emit(Input const&) override; virtual void emit(Abort const&) override; virtual void emit(Assert const&) override; - virtual void emit(FunctionCall const&) override; virtual void emit(Branch const&) override; virtual void emit(Function const&) override; virtual void emit(Module const&) override; virtual void emit(Program const&) override; + virtual void emit(FunctionCall const&) override; virtual void emit(Id const&) override; virtual void emit(Integer const&) override; virtual void emit(Float const&) override; diff --git a/Emitter.hpp b/Emitter.hpp index 3afccb3..7c8f21b 100644 --- a/Emitter.hpp +++ b/Emitter.hpp @@ -53,7 +53,6 @@ public: virtual void emit(Input const&) = 0; virtual void emit(Abort const&) = 0; virtual void emit(Assert const&) = 0; - virtual void emit(FunctionCall const&) = 0; virtual void emit(Branch const&) = 0; virtual void emit(Function const&) = 0; virtual void emit(Module const&) = 0; @@ -62,6 +61,7 @@ public: virtual void emit(Id const&) = 0; virtual void emit(Integer const&) = 0; virtual void emit(Float const&) = 0; + virtual void emit(FunctionCall const&) = 0; virtual void emit(BinaryExpression const&) = 0; };