Skip to content

Commit

Permalink
[chore]: Cleaning up doc strings from an over-zealous clion refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
batconjurer committed Jan 31, 2022
1 parent 17d4105 commit 4ee83b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/compiler-singlepass/src/codegen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5885,7 +5885,7 @@ impl<'a, M: Machine> FuncGen<'a, M> {
.mark_address_with_trap_code(TrapCode::BadSignature);
self.machine.emit_illegal_op();

// Notify the inner backend to generate necessary code at end of function.
// Notify the assembler backend to generate necessary code at end of function.
self.machine.finalize_function();

let body_len = self.machine.assembler_get_offset().0;
Expand Down
2 changes: 1 addition & 1 deletion lib/compiler-singlepass/src/emitter_x64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ pub trait EmitterX64 {

fn emit_nop(&mut self);

/// A high-level inner method. Emits an instruction sequence of length `n` that is functionally
/// A high-level assembler method. Emits an instruction sequence of length `n` that is functionally
/// equivalent to a `nop` instruction, without guarantee about the underlying implementation.
fn emit_nop_n(&mut self, n: usize);

Expand Down
2 changes: 1 addition & 1 deletion lib/compiler-singlepass/src/machine_x64.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2139,7 +2139,7 @@ impl Machine for MachineX86_64 {
new_machine_state()
}

// inner finalize
// assembler finalize
fn assembler_finalize(self) -> Vec<u8> {
self.assembler.finalize().unwrap()
}
Expand Down

0 comments on commit 4ee83b3

Please sign in to comment.