| 5553 | } |
| 5554 | |
| 5555 | U32 JitArmV8CodeGen::markBufferLocation() { |
| 5556 | asmjit::Label label = compiler.new_label(); |
| 5557 | compiler.bind(label); |
| 5558 | labels.push_back(label); |
| 5559 | return (U32)labels.size()-1; |
| 5560 | } |
| 5561 | |
| 5562 | U32 JitArmV8CodeGen::getBufferLocation(U32 id) { |
| 5563 | return (U32)code.label_offset(labels.at(id)); |