From 6969d50c820bd63043940b0e0f0ddc6e6ac763b0 Mon Sep 17 00:00:00 2001 From: buzbee Date: Fri, 15 Jun 2012 16:40:31 -0700 Subject: Invoke support for Quick Compiler Fleshed out invoke and const-string support. Fixed a bug in Phi node insertion. With this CL, the "Recursive Fibonacci" and "HelloWorld" milestones are met. Added are a set of "HL" (for High-Level) invoke intrinsics. Until we complete the merging of the Quick & Iceland runtime models the invoke code sequences are slightly different. Thus, the Greenland IR needs to represent invokes at a somewhat higher level than Iceland. The test for fast/slow path needs to happen during the lowering of the HLInvokeXXX intrinsics in both the Quick and Portable paths. This will generally be the case in the short term - push fast/slow path determination below the Greenland IR level. As unification proceeds, we'll pull as much as makes sense into the common front end. Change-Id: I0a18edf1be18583c0afdc3f7e10a3e4691968e77 --- src/compiler/codegen/CompilerCodegen.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/compiler/codegen/CompilerCodegen.h') diff --git a/src/compiler/codegen/CompilerCodegen.h b/src/compiler/codegen/CompilerCodegen.h index 45084167ac..61ea6b6cef 100644 --- a/src/compiler/codegen/CompilerCodegen.h +++ b/src/compiler/codegen/CompilerCodegen.h @@ -31,6 +31,8 @@ void genFusedLongCmpBranch(CompilationUnit* cUnit, BasicBlock* bb, MIR* mir); void genFusedFPCmpBranch(CompilationUnit* cUnit, BasicBlock* bb, MIR* mir, bool gtBias, bool isDouble); +CallInfo* oatNewCallInfo(CompilationUnit* cUnit, BasicBlock* bb, MIR* mir, + InvokeType type, bool isRange); /* Lower middle-level IR to low-level IR for the whole method */ void oatMethodMIR2LIR(CompilationUnit* cUnit); -- cgit v1.2.3-59-g8ed1b