[code generation] basic CPU backend

This commit is contained in:
Philippe Tillet
2019-03-27 11:13:36 -07:00
parent 9d6fc1c051
commit e04253c0dd
15 changed files with 110 additions and 68 deletions

View File

@@ -116,9 +116,6 @@ void allocation::run(){
for(auto &x: offsets_){
allocated_size_ = std::max<size_t>(allocated_size_, x.second + get_num_bytes(x.first));
}
std::cout << "Allocated: " << allocated_size_ << std::endl;
for(auto &x: offsets_)
std::cout << x.first->get_name() << " " << x.second << std::endl;
}
}