Clean up obsolete comments.

This commit is contained in:
Dan Gohman
2018-09-04 21:22:50 -07:00
parent ca9da7702e
commit 18900df4d5

View File

@@ -107,11 +107,10 @@ def gen_instruction_data(fmt):
""" """
Generate the InstructionData enum. Generate the InstructionData enum.
Every variant must contain `opcode` and `ty` fields. An instruction that Every variant must contain an `opcode` field. The size of `InstructionData`
doesn't produce a value should have its `ty` field set to `VOID`. The size should be kept at 16 bytes on 64-bit architectures. If more space is needed
of `InstructionData` should be kept at 16 bytes on 64-bit architectures. If to represent an instruction, use a `Box<AuxData>` to store the additional
more space is needed to represent an instruction, use a `Box<AuxData>` to information out of line.
store the additional information out of line.
""" """
fmt.line('#[derive(Clone, Debug)]') fmt.line('#[derive(Clone, Debug)]')