Skip to content

Commit

Permalink
fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
cdetrio committed May 17, 2019
1 parent e77d8e3 commit 70406b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metering.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ i64.const <cost>
call $meter
```

And a metering function `$meter`. The meter function has a signature of `(type (func (param i64)))`. Internally this function should keep a running sum and if that sum grows larger than a given threshold, end the program's execution. The metering function can be imbedded in the binary itself or can use wasm's import to define it externally.
And a metering function `$meter`. The meter function has a signature of `(type (func (param i64)))`. Internally this function should keep a running sum and if that sum grows larger than a given threshold, end the program's execution. The metering function can be embedded in the binary itself or can use wasm's import to define it externally.

Then given an array of opcodes we iterate the array and divided into segments that start with one of the `branching_ops`

Expand Down

0 comments on commit 70406b1

Please sign in to comment.