Skip to content

Commit cdfdaed

Browse files
DiegoCivigabrielbosio
authored andcommitted
Remove wrong enum explanation
1 parent ce398f2 commit cdfdaed

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

docs/gas_builtin_accounting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ This information is NOT used for the gas calculation, as the gas cost of
174174
builtins is already taken into account during the [gas accounting process](./gas.md).
175175
The builtins counter types can each be found in the [types folder](../src/types/).
176176
Taking the [Pedersen hash](../src/types/pedersen.rs) as an example, we see
177-
that the counters will be represented as i64 integers in MLIR.
177+
that the counters will be represented as `i64` integers in MLIR.
178178
Counters are then simply incremented by one each time the builtins are
179179
called from within the program.
180180

docs/overview.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -119,17 +119,6 @@ Path: `src/libfuncs`
119119
Here are stored all the library function implementations in MLIR, this
120120
contains the majority of the code.
121121

122-
To store information about the different types of library functions sierra
123-
has, we divide them into the following using the enum `SierraLibFunc`:
124-
125-
- **Branching**: These functions are implemented inline, adding blocks and
126-
jumping as necessary based on given conditions.
127-
- **Constant**: A constant value, this isn't represented as a function and
128-
is inserted inline.
129-
- **Function**: Any other function.
130-
- **InlineDataFlow**: Functions that can be implemented inline without much
131-
problem. For example: `dup`, `store_temp`
132-
133122
### Statements
134123

135124
Path: `src/statements`

0 commit comments

Comments
 (0)