Module casper_execution_engine::shared::opcode_costs
source · Expand description
Support for Wasm opcode costs.
Structs§
- Definition of a cost table for a Wasm
br_table
opcode. - Definition of a cost table for a Wasm control flow opcodes.
- Definition of a cost table for Wasm opcodes.
Constants§
- Default cost of the
add
Wasm opcode. - Default cost of the
bit
Wasm opcode. - Default cost of the
const
Wasm opcode. - Default cost of the
block
Wasm opcode. - Default cost of the
br_if
Wasm opcode. - Default cost of the
br
Wasm opcode. - Default multiplier for the size of targets in
br_table
Wasm opcode. - Default fixed cost of the
br_table
Wasm opcode. - Default cost of the
call_indirect
Wasm opcode. - Default cost of the
call
Wasm opcode. - Default cost of the
drop
Wasm opcode. - Default cost of the
else
Wasm opcode. - Default cost of the
end
Wasm opcode. - Default cost of the
if
Wasm opcode. - Default cost of the
loop
Wasm opcode. - Default cost of the
return
Wasm opcode. - Default cost of the
select
Wasm opcode. - Default cost of the
conversion
Wasm opcode. - Default cost of the
current_memory
Wasm opcode. - Default cost of the
div
Wasm opcode. - Default cost of the
global
Wasm opcode. - Default cost of the
grow_memory
Wasm opcode. - Default cost of the
integer_comparison
Wasm opcode. - Default cost of the
load
Wasm opcode. - Default cost of the
local
Wasm opcode. - Default cost of the
mul
Wasm opcode. - Default cost of the
nop
Wasm opcode. - Default cost of the
store
Wasm opcode. - Default cost of the
unreachable
Wasm opcode.