File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ pub(crate) struct InstructionBuilder {
126126 operands_in : Option < Vec < Operand > > ,
127127 operands_out : Option < Vec < Operand > > ,
128128
129- // See Instruction comments for the meaning of these fields.
129+ // See InstructionContent comments for the meaning of these fields.
130130 is_terminator : bool ,
131131 is_branch : bool ,
132132 is_call : bool ,
Original file line number Diff line number Diff line change 5252 ;; =========================================
5353 ;; Stack manipulation.
5454
55- ;; Emits a inline stack probe loop.
55+ ;; Emits an inline stack probe loop.
5656 (StackProbeLoop (tmp WritableReg)
5757 (frame_size u32)
5858 (guard_size u32))
Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ impl Inst {
156156 Inst :: External { inst }
157157 }
158158
159- /// Writes the `simm64` immedaite into `dst`.
159+ /// Writes the `simm64` immediate into `dst`.
160160 ///
161161 /// Note that if `dst_size` is less than 64-bits then the upper bits of
162162 /// `simm64` will be converted to zero.
Original file line number Diff line number Diff line change @@ -1685,7 +1685,7 @@ impl<I: VCodeInst> MachBuffer<I> {
16851685 } ) ;
16861686 }
16871687
1688- /// Add a patchable call record at the current offset The actual
1688+ /// Add a patchable call record at the current offset. The actual
16891689 /// call is expected to have been emitted; the VCodeInst trait
16901690 /// specifies how to NOP it out, and we carry that information to
16911691 /// the finalized Machbuffer.
Original file line number Diff line number Diff line change @@ -316,7 +316,7 @@ impl<'module_environment> FuncEnvironment<'module_environment> {
316316 } )
317317 }
318318
319- /// Codegens a reference to the VMContext, and return it as well.
319+ /// Codegens a reference to the VMContext and returns it as well.
320320 pub ( crate ) fn vmctx_val ( & mut self , pos : & mut FuncCursor < ' _ > ) -> ir:: Value {
321321 let pointer_type = self . pointer_type ( ) ;
322322 let vmctx = self . vmctx ( & mut pos. func ) ;
You can’t perform that action at this time.
0 commit comments