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-03-26 17:48:17 +0800
commitd62272c95d13fd4928e5c14794c25f671a71bd95 (patch)
tree901195f8e3850e1e9f51ec1a160e1b4d00662583 /core/asm
parent54ab3efcd95426d2f126a7b0fe99dd0a4751b944 (diff)
downloaddexon-d62272c95d13fd4928e5c14794c25f671a71bd95.tar
dexon-d62272c95d13fd4928e5c14794c25f671a71bd95.tar.gz
dexon-d62272c95d13fd4928e5c14794c25f671a71bd95.tar.bz2
dexon-d62272c95d13fd4928e5c14794c25f671a71bd95.tar.lz
dexon-d62272c95d13fd4928e5c14794c25f671a71bd95.tar.xz
dexon-d62272c95d13fd4928e5c14794c25f671a71bd95.tar.zst
dexon-d62272c95d13fd4928e5c14794c25f671a71bd95.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