Fix the division overflow.
Passing IntMath test.
Change-Id: I807858515a802f2efaa4802460e5f507eb944772
diff --git a/src/compiler_llvm/method_compiler.h b/src/compiler_llvm/method_compiler.h
index 7e56046..6f24799 100644
--- a/src/compiler_llvm/method_compiler.h
+++ b/src/compiler_llvm/method_compiler.h
@@ -284,6 +284,12 @@
IntArithmKind arithm,
JType op_jty);
+ llvm::Value* EmitIntDivRemResultComputation(uint32_t dex_pc,
+ llvm::Value* dividend,
+ llvm::Value* divisor,
+ IntArithmKind arithm,
+ JType op_jty);
+
llvm::Value* EmitIntShiftArithmResultComputation(uint32_t dex_pc,
llvm::Value* lhs,
llvm::Value* rhs,