File stale path references.

After rearranging the directory layout, some paths in documentation
needed updating.

Fix some typos too.
This commit is contained in:
Jakob Stoklund Olesen
2016-10-24 13:27:10 -07:00
parent cf1996b036
commit 31e033af49
11 changed files with 32 additions and 27 deletions

View File

@@ -15,7 +15,7 @@ use ir::immediates::{Imm64, Uimm8, Ieee32, Ieee64, ImmVector};
use ir::condcodes::*;
use ir::types;
// Include code generated by `meta/gen_instr.py`. This file contains:
// 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 Opcode` definition with all known opcodes,
@@ -54,9 +54,9 @@ impl Opcode {
}
}
// This trait really belongs in libreader where it is used by the .cton file parser, but since it
// This trait really belongs in lib/reader where it is used by the .cton file parser, but since it
// critically depends on the `opcode_name()` function which is needed here anyway, it lives in this
// module. This also saves us from runing the build script twice to generate code for the two
// module. This also saves us from running the build script twice to generate code for the two
// separate crates.
impl FromStr for Opcode {
type Err = &'static str;