Implement array-length instruction.
Change-Id: I722af27990fc5d179857e886d00dab11b2cd4ca8
diff --git a/src/compiler_llvm/method_compiler.h b/src/compiler_llvm/method_compiler.h
index edde6ff..a1f1802 100644
--- a/src/compiler_llvm/method_compiler.h
+++ b/src/compiler_llvm/method_compiler.h
@@ -294,10 +294,15 @@
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);