| 187 | } |
| 188 | |
| 189 | void JitCompiler::BindLabels() |
| 190 | { |
| 191 | asmjit::CBNode *cursor = cc.getCursor(); |
| 192 | unsigned int size = labels.Size(); |
| 193 | for (unsigned int i = 0; i < size; i++) |
| 194 | { |
| 195 | const OpcodeLabel &label = labels[i]; |
| 196 | if (label.inUse) |
| 197 | { |
| 198 | cc.setCursor(label.cursor); |
| 199 | cc.bind(label.label); |
| 200 | } |
| 201 | } |
| 202 | cc.setCursor(cursor); |
| 203 | } |
| 204 | |
| 205 | void JitCompiler::CheckVMFrame() |
| 206 | { |