diff options
| author | 2011-12-27 18:13:18 +0800 | |
|---|---|---|
| committer | 2012-02-16 22:06:04 -0800 | |
| commit | c3f7d96ac1a3f5fead4c0b994f3358e98214d6e9 (patch) | |
| tree | f67df20d659949010fde3cb7c3426b5687beaf37 /src/compiler_llvm/method_compiler.h | |
| parent | 4df75aec605aecbd66d53b20ec88e6bb8361a70a (diff) | |
Implement integer binary arithmetic instructions.
Change-Id: I55f1336182e91996d55d1665bda87c75bb972c64
Diffstat (limited to 'src/compiler_llvm/method_compiler.h')
| -rw-r--r-- | src/compiler_llvm/method_compiler.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/compiler_llvm/method_compiler.h b/src/compiler_llvm/method_compiler.h index 8833a5ccff..a34d20601d 100644 --- a/src/compiler_llvm/method_compiler.h +++ b/src/compiler_llvm/method_compiler.h @@ -283,6 +283,16 @@ class MethodCompiler { llvm::Value* rhs, CondBranchKind cond); + llvm::Value* EmitIntArithmResultComputation(uint32_t dex_pc, + llvm::Value* lhs, + llvm::Value* rhs, + IntArithmKind arithm, + JType op_jty); + + void EmitGuard_DivZeroException(uint32_t dex_pc, + llvm::Value* denominator, + JType op_jty); + RegCategory GetInferredRegCategory(uint32_t dex_pc, uint16_t reg); |