00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef SAVEINSTRUCTION_H_
00012 #define SAVEINSTRUCTION_H_
00013
00014 #include "Instruction.h"
00015
00016 namespace sail {
00017
00018 class SaveInstruction: public Instruction {
00019 friend class boost::serialization::access;
00020
00021 template<class Archive>
00022 void serialize(Archive & ar, const unsigned int version)
00023 {
00024 ar & boost::serialization::base_object<sail::Instruction>(*this);
00025 }
00026 public:
00027 SaveInstruction();
00028 virtual void set_lhs(Variable* v) = 0;
00029 virtual Variable* get_lhs() = 0;
00030 virtual ~SaveInstruction();
00031 };
00032
00033 }
00034
00035 #endif