aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/asm.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-10-05 22:14:01 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-10-05 22:14:01 +0800
commit5b34fa538e54320778314081df97da561f7c6314 (patch)
treedca15c858b8ac4cd79ed7b7733260ab3021bbd0c /core/vm/asm.go
parent8b865fa9bf75e728d5d76f5a1460e0c37d8b5f9e (diff)
parent7c7692933c21b77328a94eed714f66c276776197 (diff)
downloaddexon-5b34fa538e54320778314081df97da561f7c6314.tar
dexon-5b34fa538e54320778314081df97da561f7c6314.tar.gz
dexon-5b34fa538e54320778314081df97da561f7c6314.tar.bz2
dexon-5b34fa538e54320778314081df97da561f7c6314.tar.lz
dexon-5b34fa538e54320778314081df97da561f7c6314.tar.xz
dexon-5b34fa538e54320778314081df97da561f7c6314.tar.zst
dexon-5b34fa538e54320778314081df97da561f7c6314.zip
Merge pull request #1756 from obscuren/core-refactor
core, core/vm: refactor
Diffstat (limited to 'core/vm/asm.go')
-rw-r--r--core/vm/asm.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/vm/asm.go b/core/vm/asm.go
index 639201e50..065d3eb97 100644
--- a/core/vm/asm.go
+++ b/core/vm/asm.go
@@ -23,6 +23,8 @@ import (
"github.com/ethereum/go-ethereum/common"
)
+// Dissassemble dissassembles the byte code and returns the string
+// representation (human readable opcodes).
func Disassemble(script []byte) (asm []string) {
pc := new(big.Int)
for {