aboutsummaryrefslogtreecommitdiffstats
path: root/core/asm
diff options
context:
space:
mode:
authorJM <jm@dexon.org>2019-01-15 23:33:28 +0800
committerGitHub <noreply@github.com>2019-01-15 23:33:28 +0800
commit020c8a477578cef3764b54f33d9ca0cf6caf7631 (patch)
tree08a669a19cc428b8c48dad180f1f32096885826b /core/asm
parentbdde6109ffa6fa4d295708a2a75271186a12c761 (diff)
downloaddexon-020c8a477578cef3764b54f33d9ca0cf6caf7631.tar
dexon-020c8a477578cef3764b54f33d9ca0cf6caf7631.tar.gz
dexon-020c8a477578cef3764b54f33d9ca0cf6caf7631.tar.bz2
dexon-020c8a477578cef3764b54f33d9ca0cf6caf7631.tar.lz
dexon-020c8a477578cef3764b54f33d9ca0cf6caf7631.tar.xz
dexon-020c8a477578cef3764b54f33d9ca0cf6caf7631.tar.zst
dexon-020c8a477578cef3764b54f33d9ca0cf6caf7631.zip
core: vm: refactor file structure (#151)
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