aboutsummaryrefslogtreecommitdiffstats
path: root/core/asm
diff options
context:
space:
mode:
authorjm <jm.huang@cobinhood.com>2019-01-15 00:48:13 +0800
committerJhih-Ming Huang <jm.huang@cobinhood.com>2019-02-19 12:12:35 +0800
commit8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6 (patch)
treecd57c85d5c7a646626654aadad70b5afaab61f6e /core/asm
parent4356885cf337109e62ac7d78a834d347a150b5a0 (diff)
downloaddexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar.gz
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar.bz2
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar.lz
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar.xz
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.tar.zst
dexon-8e62ecbc650e8cae3ce030402bbf6bedc8eba7b6.zip
core: vm: refactor file structure
For support other vm types, this pr modified the core/vm file structures.
Diffstat (limited to 'core/asm')
-rw-r--r--core/asm/asm.go2
-rw-r--r--core/asm/compiler.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/asm/asm.go b/core/asm/asm.go
index 8dbb45ed3..164f3c29e 100644
--- a/core/asm/asm.go
+++ b/core/asm/asm.go
@@ -21,7 +21,7 @@ import (
"encoding/hex"
"fmt"
- "github.com/dexon-foundation/dexon/core/vm"
+ vm "github.com/dexon-foundation/dexon/core/vm/evm"
)
// Iterator for disassembled EVM instructions
diff --git a/core/asm/compiler.go b/core/asm/compiler.go
index b1c7c76f0..9a2f4a9aa 100644
--- a/core/asm/compiler.go
+++ b/core/asm/compiler.go
@@ -23,7 +23,7 @@ import (
"strings"
"github.com/dexon-foundation/dexon/common/math"
- "github.com/dexon-foundation/dexon/core/vm"
+ vm "github.com/dexon-foundation/dexon/core/vm/evm"
)
// Compiler contains information about the parsed source