move MoveEvent out of compiler.cpp

This commit is contained in:
Joshua Warner
2013-02-13 20:03:37 -07:00
parent 165c77d772
commit 5ad0eb86d3
5 changed files with 272 additions and 256 deletions

View File

@ -47,8 +47,21 @@ class Value: public Compiler::Operand {
bool isBuddyOf(Value* b);
void addSite(Context* c, Site* s);
void grow(Context* c);
void maybeSplit(Context* c);
void split(Context* c);
void removeSite(Context* c, Site* s);
bool hasSite(Context* c);
};
Value* value(Context* c, lir::ValueType type, Site* site = 0, Site* target = 0);
} // namespace compiler
} // namespace codegen
} // namespace avian