diff options
author | Divy Srivastava <dj.srivastava23@gmail.com> | 2022-11-10 03:53:31 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-10 17:23:31 +0530 |
commit | bc33a4b2e06dd5518e0d1bbf7b538d0b00df214d (patch) | |
tree | e139e95178892521ecb5807959e324422ed29045 /ops/optimizer_tests/op_state.rs | |
parent | 92764c0decb370b0f8a78770314ceda7228d315f (diff) |
refactor(ops): Rewrite fast call optimizer and codegen (#16514)
Diffstat (limited to 'ops/optimizer_tests/op_state.rs')
-rw-r--r-- | ops/optimizer_tests/op_state.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ops/optimizer_tests/op_state.rs b/ops/optimizer_tests/op_state.rs new file mode 100644 index 000000000..04e9a886d --- /dev/null +++ b/ops/optimizer_tests/op_state.rs @@ -0,0 +1,3 @@ +fn op_set_exit_code(state: &mut OpState, code: i32) { + state.borrow_mut::<ExitCode>().set(code); +} |