aboutsummaryrefslogtreecommitdiffstats
path: root/core/vm/jit.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <geffobscura@gmail.com>2015-10-07 05:39:43 +0800
committerJeffrey Wilcke <geffobscura@gmail.com>2015-10-17 04:30:42 +0800
commitb19627804400901ba003f6e401366cb7d3c4290f (patch)
tree0fbfa3f118df85737b72764b0765a22cbf4c7b2a /core/vm/jit.go
parent9d61d78de6ad20822b2b48d6c4e3779369ea7331 (diff)
downloadgo-tangerine-b19627804400901ba003f6e401366cb7d3c4290f.tar.gz
go-tangerine-b19627804400901ba003f6e401366cb7d3c4290f.tar.zst
go-tangerine-b19627804400901ba003f6e401366cb7d3c4290f.zip
core/vm: added JIT segmenting / optimisations
* multi-push segments * static jumps segments
Diffstat (limited to 'core/vm/jit.go')
-rw-r--r--core/vm/jit.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/vm/jit.go b/core/vm/jit.go
index 8cb95b860..1aa7d7ef2 100644
--- a/core/vm/jit.go
+++ b/core/vm/jit.go
@@ -290,6 +290,8 @@ func CompileProgram(program *Program) (err error) {
}
}
+ optimiseProgram(program)
+
return nil
}