summaryrefslogtreecommitdiffstats
path: root/runtime/verifier
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2014-10-30 15:41:08 -0700
committerIan Rogers <irogers@google.com>2014-10-30 16:17:21 -0700
commitf72a11dd4b0dd86bc4b1baa37bfa47fc8d5572b5 (patch)
treebf2f2842a7bbe44057bc1e8c0e176b51baa173ac /runtime/verifier
parent2a4e71ca268f8a5b3d8424116a7a8650265d8774 (diff)
downloadart-f72a11dd4b0dd86bc4b1baa37bfa47fc8d5572b5.zip
art-f72a11dd4b0dd86bc4b1baa37bfa47fc8d5572b5.tar.gz
art-f72a11dd4b0dd86bc4b1baa37bfa47fc8d5572b5.tar.bz2
Add math routines with defined wrapping behavior for the interpreter.
Add a RSUB_INT_LIT16 instruction alias to make instruction opcode switch statements easier to read. Change-Id: I3bac07c9518665abf0b05b5c3105a90be22f780a
Diffstat (limited to 'runtime/verifier')
-rw-r--r--runtime/verifier/method_verifier.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/verifier/method_verifier.cc b/runtime/verifier/method_verifier.cc
index 6e792d4..7380a50 100644
--- a/runtime/verifier/method_verifier.cc
+++ b/runtime/verifier/method_verifier.cc
@@ -2650,7 +2650,7 @@ bool MethodVerifier::CodeFlowVerifyInstruction(uint32_t* start_guess) {
reg_types_.DoubleLo(), reg_types_.DoubleHi());
break;
case Instruction::ADD_INT_LIT16:
- case Instruction::RSUB_INT:
+ case Instruction::RSUB_INT_LIT16:
case Instruction::MUL_INT_LIT16:
case Instruction::DIV_INT_LIT16:
case Instruction::REM_INT_LIT16: