Lines Matching refs:inst_cap_
227 int inst_cap_; // Number of instructions allocated.
246 inst_cap_ = 0;
265 if (inst_len_ + n > inst_cap_) {
266 if (inst_cap_ == 0)
267 inst_cap_ = 8;
268 while (inst_len_ + n > inst_cap_)
269 inst_cap_ *= 2;
270 Prog::Inst* ip = new Prog::Inst[inst_cap_];
272 memset(ip + inst_len_, 0, (inst_cap_ - inst_len_) * sizeof ip[0]);
282 if (inst_len_ < inst_cap_) {
287 inst_cap_ = inst_len_;