diff options
author | JM <jm@dexon.org> | 2019-01-15 23:33:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-15 23:33:28 +0800 |
commit | 020c8a477578cef3764b54f33d9ca0cf6caf7631 (patch) | |
tree | 08a669a19cc428b8c48dad180f1f32096885826b /core/asm | |
parent | bdde6109ffa6fa4d295708a2a75271186a12c761 (diff) | |
download | dexon-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.go | 2 | ||||
-rw-r--r-- | core/asm/compiler.go | 2 |
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 |