mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #750 from ethereum/chriseth-patch-2
Correct source map definition.
This commit is contained in:
commit
23a4d07821
@ -130,7 +130,7 @@ index mentioned above.
|
||||
The encoding in the source mapping for the bytecode is more complicated:
|
||||
It is a list of ``s:l:f:j`` separated by ``;``. Each of these
|
||||
elements corresponds to an instruction, i.e. you cannot use the byte offset
|
||||
but have to use the instruction offset or PC (program counter).
|
||||
but have to use the instruction offset (push instructions are longer than a single byte).
|
||||
The fields ``s``, ``l`` and ``f`` are as above and ``j`` can be either
|
||||
``i``, ``o`` or ``-`` signifying whether a jump instruction goes into a
|
||||
function, returns from a function or is a regular jump as part of e.g. a loop.
|
||||
|
Loading…
Reference in New Issue
Block a user