summaryrefslogtreecommitdiff
path: root/src/compiler_llvm/method_compiler.h
diff options
context:
space:
mode:
author TDYa127 <tdy@google.com> 2012-04-29 01:31:49 -0700
committer Shih-wei Liao <sliao@google.com> 2012-05-03 18:28:57 -0700
commit7f5b9be62c034b29f3bb550478da9af28e88f72b (patch)
tree123880aa0d911e9bdf635cc87633704b3d4392b0 /src/compiler_llvm/method_compiler.h
parent5e5a804e7be57876df789c88dc0503879f969f39 (diff)
Separate object register and shadow frame entry.
The shadow frame already escaped. LLVM can't do optimization for the shadow frame entry. Change-Id: I3a6e4a3066ebcc9a6530e3313061af3a7d18c456
Diffstat (limited to 'src/compiler_llvm/method_compiler.h')
-rw-r--r--src/compiler_llvm/method_compiler.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compiler_llvm/method_compiler.h b/src/compiler_llvm/method_compiler.h
index d5a4374ca2..e1465dcce6 100644
--- a/src/compiler_llvm/method_compiler.h
+++ b/src/compiler_llvm/method_compiler.h
@@ -83,6 +83,8 @@ class MethodCompiler {
llvm::Value* AllocDalvikLocalVarReg(RegCategory cat, uint32_t reg_idx);
+ llvm::Value* AllocShadowFrameEntry(uint32_t reg_idx);
+
llvm::Value* AllocDalvikRetValReg(RegCategory cat);