File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
crates/wasmi/src/engine/translator/func2/stack Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -425,7 +425,8 @@ impl Stack {
425
425
///
426
426
/// # Note
427
427
///
428
- /// Returns the [`Operand`] at `depth` before being converted to an [`Operand::Temp`].
428
+ /// - Returns the [`Operand`] at `depth` before being converted to an [`Operand::Temp`].
429
+ /// - [`Operand::Temp`] will have their optional `instr` set to `None`.
429
430
///
430
431
/// # Panics
431
432
///
Original file line number Diff line number Diff line change @@ -233,7 +233,8 @@ impl OperandStack {
233
233
///
234
234
/// # Note
235
235
///
236
- /// Returns the [`Operand`] at `depth` before being converted to an [`Operand::Temp`].
236
+ /// - Returns the [`Operand`] at `depth` before being converted to an [`Operand::Temp`].
237
+ /// - [`Operand::Temp`] will have their optional `instr` set to `None`.
237
238
///
238
239
/// # Panics
239
240
///
@@ -249,7 +250,8 @@ impl OperandStack {
249
250
///
250
251
/// # Note
251
252
///
252
- /// Returns `None` if operand at `index` is [`StackOperand::Temp`] already.
253
+ /// - Returns the [`Operand`] at `index` before being converted to an [`Operand::Temp`].
254
+ /// - [`Operand::Temp`] will have their optional `instr` set to `None`.
253
255
///
254
256
/// # Panics
255
257
///
You can’t perform that action at this time.
0 commit comments