aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2016-08-01 18:44:38 +0800
committerGitHub <noreply@github.com>2016-08-01 18:44:38 +0800
commit23a4d0782105d7260b5e35a69f82dbc7c8735535 (patch)
tree831c44f43d3eed8b83508bf8ac1e08a9d5503750
parent267b32df83dba00c36d106cc3abf11f731a1b66f (diff)
parentc8aa39e58736b14fa0825f528304926af91573ea (diff)
downloaddexon-solidity-23a4d0782105d7260b5e35a69f82dbc7c8735535.tar.gz
dexon-solidity-23a4d0782105d7260b5e35a69f82dbc7c8735535.tar.zst
dexon-solidity-23a4d0782105d7260b5e35a69f82dbc7c8735535.zip
Merge pull request #750 from ethereum/chriseth-patch-2
Correct source map definition.
-rw-r--r--docs/miscellaneous.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/miscellaneous.rst b/docs/miscellaneous.rst
index 76485745..304fce14 100644
--- a/docs/miscellaneous.rst
+++ b/docs/miscellaneous.rst
@@ -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.