diff options
| author | 2012-02-03 15:34:53 +0800 | |
|---|---|---|
| committer | 2012-02-16 23:15:29 -0800 | |
| commit | 61bb614526be29a99b31180c8ac8a695cd813d6c (patch) | |
| tree | 5455f296095bafa06c0ddcf0604642f196c56597 /src/compiler_llvm/method_compiler.h | |
| parent | 5b07ea25a064995d0acbb142a768baf356ba5fdf (diff) | |
Implement array-length instruction.
Change-Id: I722af27990fc5d179857e886d00dab11b2cd4ca8
Diffstat (limited to 'src/compiler_llvm/method_compiler.h')
| -rw-r--r-- | src/compiler_llvm/method_compiler.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler_llvm/method_compiler.h b/src/compiler_llvm/method_compiler.h index edde6ff0a6..a1f18024cf 100644 --- a/src/compiler_llvm/method_compiler.h +++ b/src/compiler_llvm/method_compiler.h @@ -294,10 +294,15 @@ class MethodCompiler { llvm::Value* rhs, FPArithmKind arithm); + llvm::Value* EmitLoadArrayLength(llvm::Value* array); + void EmitGuard_DivZeroException(uint32_t dex_pc, llvm::Value* denominator, JType op_jty); + void EmitGuard_NullPointerException(uint32_t dex_pc, + llvm::Value* object); + RegCategory GetInferredRegCategory(uint32_t dex_pc, uint16_t reg); |