initialize c->currentBlock
remove Local, frame.h and old code