Skip to content

Commit 2cd6a75

Browse files
committed
Fix typos
1 parent ff730f3 commit 2cd6a75

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

docs/changelog.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Optimisations:
152152
finish executing loops in order to skip runtime execution. We can now
153153
partly execute loops at runtime. This is a big help to many programs
154154
with a large outer loop, previously they did not benefit from compile
155-
time exeuction.
155+
time execution.
156156

157157
Compiler performance:
158158

docs/faq.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,6 @@ Many! Some noteworthy examples I've seen are:
6969
* https://github.com/stedolan/bf.sed (simple optimisations, but
7070
compiles directly to asm)
7171
* https://github.com/matslina/bfoptimization
72-
* [Platonic Ideal Brainfuck Interpeter](http://catseye.tc/node/pibfi)
72+
* [Platonic Ideal Brainfuck Interpreter](http://catseye.tc/node/pibfi)
7373
[(src)](https://github.com/catseye/pibfi) (even has a profiler!)
7474
* https://github.com/rmmh/beefit (uses LuaJIT)

src/llvm.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -528,7 +528,7 @@ unsafe fn compile_multiply_move(
528528
multiply_body,
529529
);
530530

531-
// In the multiply body, do the mulitply
531+
// In the multiply body, do the multiply
532532
builder.position_at_end(multiply_body);
533533

534534
// Zero the current cell.
@@ -730,7 +730,7 @@ unsafe fn compile_loop(
730730
&mut *loop_after
731731
}
732732

733-
/// Append LLVM IR instructions to bb acording to the BF instruction
733+
/// Append LLVM IR instructions to bb according to the BF instruction
734734
/// passed in.
735735
unsafe fn compile_instr(
736736
instr: &AstNode,

src/peephole.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2617,7 +2617,7 @@ mod soundness_tests {
26172617
fn combine_before_read_is_sound() {
26182618
fn is_sound(instrs: Vec<AstNode>, read_value: Option<i8>) -> TestResult {
26192619
// remove_read_clobber can change the value of cells when we
2620-
// reach a runtime value. Conside `+,` to `,` -- the `,`
2620+
// reach a runtime value. Consider `+,` to `,` -- the `,`
26212621
// overwrites the cell, but when we reach the runtime value
26222622
// the cells are different.
26232623
transform_is_sound(instrs, remove_read_clobber, false, read_value)

0 commit comments

Comments
 (0)