Removed unnecessary documentation.

This commit is contained in:
Angus Holder
2017-02-22 18:10:09 +00:00
committed by Jakob Stoklund Olesen
parent b2a3b34022
commit 1e4096b8b8

View File

@@ -274,8 +274,6 @@ def gen_opcodes(groups, fmt):
.format(i.ins[i.format.typevar_operand])) .format(i.ins[i.format.typevar_operand]))
# Enum variant itself. # Enum variant itself.
if is_first_opcode: if is_first_opcode:
fmt.doc_comment('We explicitly set this to 1 to allow the NonZero optimization,')
fmt.doc_comment('meaning that SIZEOF(Option<Opcode>) == SIZEOF(Opcode)')
fmt.line(i.camel_name + ' = 1,') fmt.line(i.camel_name + ' = 1,')
is_first_opcode = False is_first_opcode = False
else: else: