aboutsummaryrefslogtreecommitdiff
path: root/smali/src/test/resources/LexerTest/InstructionTest.smali
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2015-02-18 17:38:30 -0800
committerIgor Murashkin <iam@google.com>2015-03-16 11:40:58 -0700
commit144951a9e9e6c87866245f2bdeebf0ebedaa0e38 (patch)
treebdbc5c4f2ad3ea320798ade74888490123c30ad5 /smali/src/test/resources/LexerTest/InstructionTest.smali
parentf70084bdfeba10dfb68c2c63eb1bedd4e42b4b0f (diff)
downloadsmali-144951a9e9e6c87866245f2bdeebf0ebedaa0e38.tar.gz
Add lambda experimental dalvik opcodes
* Add new -X/--experimental flag to [dis]assemble opcodes not in art yet * Add new opcodes liberate-variable, box-lambda, unbox-lambda, capture-variable, create-lambda, invoke-lambda * Add support for encoding 25x instructions * Adds LambdaTest to check new opcodes assemble/disassemble properly TODO: invoke-lambda-range Change-Id: I5c8bcbfa8b6cb9a13ef2017fce2d1b7fda6e11c3
Diffstat (limited to 'smali/src/test/resources/LexerTest/InstructionTest.smali')
-rw-r--r--smali/src/test/resources/LexerTest/InstructionTest.smali6
1 files changed, 6 insertions, 0 deletions
diff --git a/smali/src/test/resources/LexerTest/InstructionTest.smali b/smali/src/test/resources/LexerTest/InstructionTest.smali
index 2247adc0..f6dcbb1e 100644
--- a/smali/src/test/resources/LexerTest/InstructionTest.smali
+++ b/smali/src/test/resources/LexerTest/InstructionTest.smali
@@ -84,6 +84,8 @@ const-string
check-cast
new-instance
const-class
+capture-variable
+create-lambda
const/high16
const-wide/high16
const/16
@@ -122,6 +124,8 @@ iput-wide-volatile
iput-object-volatile
instance-of
new-array
+unbox-lambda
+liberate-variable
iget-quick
iget-wide-quick
iget-object-quick
@@ -144,6 +148,7 @@ if-le
move/from16
move-wide/from16
move-object/from16
+box-lambda
cmpl-float
cmpg-float
cmpl-double
@@ -194,6 +199,7 @@ add-double
sub-double
mul-double
div-double
+invoke-lambda
goto/32
const-string/jumbo
const