From 70406b120f155b4161b4422150b6b76b41e50f11 Mon Sep 17 00:00:00 2001 From: cdetrio Date: Fri, 17 May 2019 16:44:35 -0400 Subject: [PATCH] fix spelling --- metering.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metering.md b/metering.md index 7b8d0680..5d5a037e 100644 --- a/metering.md +++ b/metering.md @@ -25,7 +25,7 @@ i64.const 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`