move CallEvent out of compiler.cpp

This commit is contained in:
Joshua Warner
2013-02-13 19:33:40 -07:00
parent 6d265374ec
commit 0f6e098b69
13 changed files with 732 additions and 539 deletions

View File

@ -109,6 +109,12 @@ void SiteIterator::remove(Context* c) {
unsigned Site::registerSize(Context*) {
return vm::TargetBytesPerWord;
}
Site* constantSite(Context* c, Promise* value) {
return new(c->zone) ConstantSite(value);
}