OSDN Git Service

optimise ifstatements jumpif condition check (#13)
authoroysheng <33340252+oysheng@users.noreply.github.com>
Mon, 8 Oct 2018 03:05:54 +0000 (11:05 +0800)
committerPaladz <yzhu101@uottawa.ca>
Mon, 8 Oct 2018 03:05:54 +0000 (11:05 +0800)
commitc472eb9be5ffd4db6e8d04ece79bc61163b4db17
tree5e138e47d84f3085d6be644ca521b26046bdabeb
parenta732ed23c7e71f3a0135ce416b6ba4669b9a61eb
optimise ifstatements jumpif condition check  (#13)

* optimise ifstatements jumpif condition check

* fix unit test

* restore
compiler/builder.go
compiler/compile.go
compiler/compile_test.go