| 12 | } |
| 13 | |
| 14 | void JASBasicBank::setInst(int prg_no, JASInst *inst) { |
| 15 | #line 22 |
| 16 | JUT_ASSERT(prg_no < INST_MAX); |
| 17 | JUT_ASSERT(prg_no >= 0); |
| 18 | |
| 19 | JUT_ASSERT(mInstTable[prg_no] == 0); |
| 20 | mInstTable[prg_no] = inst; |
| 21 | } |
| 22 | |
| 23 | JASInst *JASBasicBank::getInst(u32 id) const { |
| 24 | if (id >= INST_MAX) { |