OSDN Git Service

Add math routines with defined wrapping behavior for the interpreter.
authorIan Rogers <irogers@google.com>
Thu, 30 Oct 2014 22:41:08 +0000 (15:41 -0700)
committerIan Rogers <irogers@google.com>
Thu, 30 Oct 2014 23:17:21 +0000 (16:17 -0700)
commitf72a11dd4b0dd86bc4b1baa37bfa47fc8d5572b5
treebf2f2842a7bbe44057bc1e8c0e176b51baa173ac
parent2a4e71ca268f8a5b3d8424116a7a8650265d8774
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
runtime/dex_instruction.h
runtime/interpreter/interpreter_common.h
runtime/interpreter/interpreter_goto_table_impl.cc
runtime/interpreter/interpreter_switch_impl.cc
runtime/interpreter/safe_math.h [new file with mode: 0644]
runtime/verifier/method_verifier.cc