summaryrefslogtreecommitdiffstats
path: root/vendor/github.com/d5/tengo/compiler/emitted_instruction.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/d5/tengo/compiler/emitted_instruction.go')
-rw-r--r--vendor/github.com/d5/tengo/compiler/emitted_instruction.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/github.com/d5/tengo/compiler/emitted_instruction.go b/vendor/github.com/d5/tengo/compiler/emitted_instruction.go
new file mode 100644
index 00000000..8572fb0a
--- /dev/null
+++ b/vendor/github.com/d5/tengo/compiler/emitted_instruction.go
@@ -0,0 +1,8 @@
+package compiler
+
+// EmittedInstruction represents an opcode
+// with its emitted position.
+type EmittedInstruction struct {
+ Opcode Opcode
+ Position int
+}