# Execute a CodeInfo object?

**URL:** <https://discourse.julialang.org/t/execute-a-codeinfo-object/60446>\
**Category:** General Usage\
**Tags:** question\
**Created:** [May 3, 2021, 2:50am UTC](https://discourse.julialang.org/t/execute-a-codeinfo-object/60446 "2021-05-03T02:50:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jzr](https://avatars.discourse-cdn.com/v4/letter/j/eb9ed0/32.png) [@jzr](https://discourse.julialang.org/u/jzr)\
**Post date:** [May 3, 2021, 2:50am UTC](https://discourse.julialang.org/t/execute-a-codeinfo-object/60446/1 "2021-05-03T02:50:02Z")

</div>

I used `@code_typed f(100)` to get a `CodeInfo` object. Is it possible to execute that object to get the result?

```julia
CodeInfo(
1 ─ goto #3 if not false
2 ─ nothing::Nothing
3 ┄ goto #4
4 ─ %4 = Base.add_int(99, arg#258)::Int64
└── return %4
) => Int64

```
