00001 #ifndef NOOP_INSTRUCTION_H_
00002 #define NOOP_INSTRUCTION_H_
00003
00004 #include "instruction.h"
00005
00006 namespace il
00007 {
00008
00012 class noop_instruction:public instruction
00013 {
00014 friend class boost::serialization::access;
00015
00016 template<class Archive>
00017 void serialize(Archive & ar, const unsigned int version)
00018 {
00019 ar & boost::serialization::base_object<il::instruction>(*this);
00020 }
00021 public:
00022 noop_instruction();
00023 virtual ~noop_instruction();
00024 virtual string to_string() const {return "noop";};
00025 virtual void print(){cout << "noop"<<endl;};
00026 };
00027
00028 }
00029
00030 #endif