Document that opcodes.rs contains InstructionData.

This commit is contained in:
Dan Gohman
2018-03-28 16:20:46 -07:00
parent 951ff11f85
commit 68b2040ba2

View File

@@ -31,6 +31,7 @@ pub type ValueListPool = entity::ListPool<Value>;
// Include code generated by `lib/cretonne/meta/gen_instr.py`. This file contains:
//
// - The `pub enum InstructionFormat` enum with all the instruction formats.
// - The `pub enum InstructionData` enum with all the instruction data fields.
// - The `pub enum Opcode` definition with all known opcodes,
// - The `const OPCODE_FORMAT: [InstructionFormat; N]` table.
// - The private `fn opcode_name(Opcode) -> &'static str` function, and