summaryrefslogtreecommitdiffstats
path: root/opcode-gen
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2011-03-01 15:47:46 -0800
committerAndy McFadden <fadden@android.com>2011-03-02 13:28:25 -0800
commit0346e9dcddccd449c731e42ef83708ff6d8f0976 (patch)
tree8a32dec433440dd8860b2324239467f79ec9fefc /opcode-gen
parent131ec9ff58fcc6a7440297e2cbee23df93d2974d (diff)
downloadandroid_dalvik-0346e9dcddccd449c731e42ef83708ff6d8f0976.tar.gz
android_dalvik-0346e9dcddccd449c731e42ef83708ff6d8f0976.tar.bz2
android_dalvik-0346e9dcddccd449c731e42ef83708ff6d8f0976.zip
Change invoke-object-init to /range form
The invoke-object-init instruction pretends to be a regular invoke that only knows how to call Object.<init>. As such it always takes one argument, and if we use the /range version we can specify the "this" register with 16 bits instead of only 4. Bug 3486699 Change-Id: I9ee4700c6935beee1dcbaa583b57befd33641414
Diffstat (limited to 'opcode-gen')
-rw-r--r--opcode-gen/bytecode.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/opcode-gen/bytecode.txt b/opcode-gen/bytecode.txt
index 1a2270702..6fd57dbdb 100644
--- a/opcode-gen/bytecode.txt
+++ b/opcode-gen/bytecode.txt
@@ -332,7 +332,7 @@ op ef +execute-inline/range 3rmi n inline-method optimized|continue|thro
# doesn't invoke the method unless a debugger is attached. The verifier
# will ensure that Object.<init> is present and empty, so there is no
# opportunity for an exception to be thrown.
-op f0 +invoke-object-init 35c n method-ref optimized|continue
+op f0 +invoke-object-init/range 35c n method-ref optimized|continue
op f1 +return-void-barrier 10x n none optimized|return
op f2 +iget-quick 22cs y field-offset optimized|continue|throw