Mark ewasm output as supported

And use proper Ewasm name capitalization
This commit is contained in:
Alex Beregszaszi 2020-10-30 19:44:59 +00:00
parent be02db4950
commit 883d4629cd
2 changed files with 5 additions and 5 deletions

View File

@ -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": "",

View File

@ -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)