pull/2/head
ondra05 2023-07-22 02:27:03 +02:00
parent 35f3922175
commit 41e4ea060f
No known key found for this signature in database
GPG Key ID: 0DA6D2BB2285E881
1 changed files with 2 additions and 1 deletions

View File

@ -67,8 +67,9 @@ impl Assembler {
//
// Newly created `UN` (as UNreachable) was chosen as
// - It was a good idea to add some equivalent to `ud2` anyways
// - Its zeroes
// - It was chosen to be zero
// - What if you somehow reached that code, it will appropriately bail :)
// - (yes, originally NOP was considered)
//
// Why 12 bytes? That's the size of largest instruction parameter part.
self.buf.extend([0; 12]);