Skip to content

Commit 98988d9

Browse files
committed
feat: try become keyword again
1 parent e6affb6 commit 98988d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/vm/derive/src/tco.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ pub fn tco_impl(item: TokenStream) -> TokenStream {
6868
let next_handler = next_handler.unwrap_unchecked();
6969

7070
// The `become` keyword has a bug that is not re-passing the `interpreter`, `exec_state` references properly. But llvm seems to almost always guarantee tail call elimination when the function signature is the same as the current function.
71-
next_handler(interpreter, exec_state)
71+
become next_handler(interpreter, exec_state)
7272
}
7373
};
7474

0 commit comments

Comments
 (0)