summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/method_compiler.h
diff options
context:
space:
mode:
author Logan Chien <loganchien@google.com> 2012-01-16 10:38:41 +0800
committer Shih-wei Liao <sliao@google.com> 2012-02-18 01:08:48 -0800
commita2cc6a3f1c7c955da32cd2172188d3d4ead57c85 (patch)
tree01549a203913dad5c6a6ffeaa5bf47e9fb2eaddf /src/compiler_llvm/method_compiler.h
parent032bdad09ff57109a0824f3e8e40a75912ccd046 (diff)
Implement new-array instruction.
Change-Id: Ib8b1880082b91c2b388f5e06c2b58347c4aa61e9
Diffstat (limited to 'src/compiler_llvm/method_compiler.h')
-rw-r--r--src/compiler_llvm/method_compiler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/compiler_llvm/method_compiler.h b/src/compiler_llvm/method_compiler.h
index b5877e8ab4..df381ee559 100644
--- a/src/compiler_llvm/method_compiler.h
+++ b/src/compiler_llvm/method_compiler.h
@@ -309,6 +309,11 @@ class MethodCompiler {
llvm::Value* rhs,
FPArithmKind arithm);
+ llvm::Value* EmitAllocNewArray(uint32_t dex_pc,
+ int32_t length,
+ uint32_t type_idx,
+ bool is_filled_new_array);
+
llvm::Value* EmitLoadArrayLength(llvm::Value* array);
llvm::Value* EmitArrayGEP(llvm::Value* array_addr,