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_tableopcode. - Definition of a cost table for a Wasm control flow opcodes.
- Definition of a cost table for Wasm opcodes.
Constants
- Default cost of the
addWasm opcode. - Default cost of the
bitWasm opcode. - Default cost of the
constWasm opcode. - Default cost of the
blockWasm opcode. - Default cost of the
br_ifWasm opcode. - Default cost of the
brWasm opcode. - Default multiplier for the size of targets in
br_tableWasm opcode. - Default fixed cost of the
br_tableWasm opcode. - Default cost of the
call_indirectWasm opcode. - Default cost of the
callWasm opcode. - Default cost of the
dropWasm opcode. - Default cost of the
elseWasm opcode. - Default cost of the
endWasm opcode. - Default cost of the
ifWasm opcode. - Default cost of the
loopWasm opcode. - Default cost of the
returnWasm opcode. - Default cost of the
selectWasm opcode. - Default cost of the
conversionWasm opcode. - Default cost of the
current_memoryWasm opcode. - Default cost of the
divWasm opcode. - Default cost of the
globalWasm opcode. - Default cost of the
grow_memoryWasm opcode. - Default cost of the
integer_comparisonWasm opcode. - Default cost of the
loadWasm opcode. - Default cost of the
localWasm opcode. - Default cost of the
mulWasm opcode. - Default cost of the
nopWasm opcode. - Default cost of the
storeWasm opcode. - Default cost of the
unreachableWasm opcode.