Comment access to require_target
This commit is contained in:
parent
36e671bc31
commit
65e8400e56
|
@ -1012,7 +1012,7 @@ fn require_target(
|
||||||
let is_stack_polymorphic = top_label(frame_stack).polymorphic_stack;
|
let is_stack_polymorphic = top_label(frame_stack).polymorphic_stack;
|
||||||
let frame = require_label(depth, frame_stack)?;
|
let frame = require_label(depth, frame_stack)?;
|
||||||
|
|
||||||
// TODO: Clean this mess.
|
// Get the label by the given `depth`.
|
||||||
let label = label_stack
|
let label = label_stack
|
||||||
.get(label_stack.len() - 1 - (depth as usize))
|
.get(label_stack.len() - 1 - (depth as usize))
|
||||||
.expect("this is ensured by `require_label` above");
|
.expect("this is ensured by `require_label` above");
|
||||||
|
|
Loading…
Reference in New Issue