aboutsummaryrefslogtreecommitdiff
path: root/vendor/honnef.co/go/tools/ssa/write.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/honnef.co/go/tools/ssa/write.go')
-rw-r--r--vendor/honnef.co/go/tools/ssa/write.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/honnef.co/go/tools/ssa/write.go b/vendor/honnef.co/go/tools/ssa/write.go
new file mode 100644
index 0000000..89761a1
--- /dev/null
+++ b/vendor/honnef.co/go/tools/ssa/write.go
@@ -0,0 +1,5 @@
+package ssa
+
+func NewJump(parent *BasicBlock) *Jump {
+ return &Jump{anInstruction{parent}}
+}