equal
deleted
inserted
replaced
1161 NativeMovConstReg* n_copy2 = nativeMovConstReg_at(copy_buff); |
1161 NativeMovConstReg* n_copy2 = nativeMovConstReg_at(copy_buff); |
1162 n_copy2->set_pc_relative_offset(addr, instr_pc); |
1162 n_copy2->set_pc_relative_offset(addr, instr_pc); |
1163 } |
1163 } |
1164 #endif |
1164 #endif |
1165 |
1165 |
1166 for (int i = NativeCall::instruction_size; i < *byte_count; i++) { |
1166 for (int i = NativeGeneralJump::instruction_size; i < *byte_count; i++) { |
1167 address ptr = copy_buff + i; |
1167 address ptr = copy_buff + i; |
1168 int a_byte = (*ptr) & 0xFF; |
1168 int a_byte = (*ptr) & 0xFF; |
1169 address dst = instr_pc + i; |
1169 address dst = instr_pc + i; |
1170 *(unsigned char*)dst = (unsigned char) a_byte; |
1170 *(unsigned char*)dst = (unsigned char) a_byte; |
1171 } |
1171 } |