From a78e3c828f9a701892482909b4d06af74a4fdbd7 Mon Sep 17 00:00:00 2001 From: Logan Chien Date: Tue, 27 Dec 2011 17:59:35 +0800 Subject: Implement conditional branch. Change-Id: I73ea66f9a6547840c85b1a9c416a52d699fe3aa2 --- src/compiler_llvm/method_compiler.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/compiler_llvm/method_compiler.h') diff --git a/src/compiler_llvm/method_compiler.h b/src/compiler_llvm/method_compiler.h index 08ea7896e2..8833a5ccff 100644 --- a/src/compiler_llvm/method_compiler.h +++ b/src/compiler_llvm/method_compiler.h @@ -279,6 +279,12 @@ class MethodCompiler { llvm::Value* EmitCompareResultSelection(llvm::Value* cmp_eq, llvm::Value* cmp_lt); + llvm::Value* EmitConditionResult(llvm::Value* lhs, + llvm::Value* rhs, + CondBranchKind cond); + + RegCategory GetInferredRegCategory(uint32_t dex_pc, uint16_t reg); + // Basic block helper functions llvm::BasicBlock* GetBasicBlock(uint32_t dex_pc); -- cgit v1.2.3-59-g8ed1b