[jruby-joni] 25/223: Quite a bit faster OPCode.JUMP bytecode implementation.
Hideki Yamane
henrich at moszumanska.debian.org
Mon Nov 16 11:21:41 UTC 2015
This is an automated email from the git hooks/post-receive script.
henrich pushed a commit to branch debian/sid
in repository jruby-joni.
commit 0a95e05504cfd8ce479b5a7deaf5a9388911eed1
Author: Marcin Mielżyński <lopx at gazeta.pl>
Date: Wed Jun 11 21:05:10 2008 +0000
Quite a bit faster OPCode.JUMP bytecode implementation.
git-svn-id: http://svn.codehaus.org/jruby/joni/trunk@6936 961051c9-f516-0410-bf72-c9f7e237a7b7
---
src/org/joni/ByteCodeMachine.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/src/org/joni/ByteCodeMachine.java b/src/org/joni/ByteCodeMachine.java
index 9ccde09..503d10a 100644
--- a/src/org/joni/ByteCodeMachine.java
+++ b/src/org/joni/ByteCodeMachine.java
@@ -1468,8 +1468,7 @@ class ByteCodeMachine extends StackMachine {
}
private void opJump() {
- int addr = code[ip++];
- ip += addr;
+ ip += code[ip] + 1;
}
private void opPush() {
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/jruby-joni.git
More information about the pkg-java-commits
mailing list