mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #10164 from ethereum/ewasm-docs
Mark ewasm output as supported
This commit is contained in:
commit
fc5d303c24
@ -321,8 +321,8 @@ Input Description
|
||||
// evm.deployedBytecode.immutableReferences - Map from AST ids to bytecode ranges that reference immutables
|
||||
// evm.methodIdentifiers - The list of function hashes
|
||||
// evm.gasEstimates - Function gas estimates
|
||||
// ewasm.wast - eWASM S-expressions format (not supported at the moment)
|
||||
// ewasm.wasm - eWASM binary format (not supported at the moment)
|
||||
// ewasm.wast - Ewasm in WebAssembly S-expressions format
|
||||
// ewasm.wasm - Ewasm in WebAssembly binary format
|
||||
//
|
||||
// Note that using a using `evm`, `evm.bytecode`, `ewasm`, etc. will select every
|
||||
// target part of that output. Additionally, `*` can be used as a wildcard to request everything.
|
||||
@ -486,7 +486,7 @@ Output Description
|
||||
}
|
||||
}
|
||||
},
|
||||
// eWASM related outputs
|
||||
// Ewasm related outputs
|
||||
"ewasm": {
|
||||
// S-expressions format
|
||||
"wast": "",
|
||||
|
@ -9,7 +9,7 @@ Yul
|
||||
Yul (previously also called JULIA or IULIA) is an intermediate language that can be
|
||||
compiled to bytecode for different backends.
|
||||
|
||||
Support for EVM 1.0, EVM 1.5 and eWASM is planned, and it is designed to
|
||||
Support for EVM 1.0, EVM 1.5 and Ewasm is planned, and it is designed to
|
||||
be a usable common denominator of all three
|
||||
platforms. It can already be used in stand-alone mode and
|
||||
for "inline assembly" inside Solidity
|
||||
@ -1028,7 +1028,7 @@ An example Yul Object is shown below:
|
||||
// executing code is the constructor code)
|
||||
size := datasize("runtime")
|
||||
offset := allocate(size)
|
||||
// This will turn into a memory->memory copy for eWASM and
|
||||
// This will turn into a memory->memory copy for Ewasm and
|
||||
// a codecopy for EVM
|
||||
datacopy(offset, dataoffset("runtime"), size)
|
||||
return(offset, size)
|
||||
|
Loading…
Reference in New Issue
Block a user