From 3ea4ec5629613013ad9b0d7a69abdb94491ac46f Mon Sep 17 00:00:00 2001 From: buzbee Date: Mon, 22 Aug 2011 17:37:19 -0700 Subject: Misc fixes, new compiler unit tests Fixed disassembly logging, miscellaneous codegen bugs and added a set of unit tests (most of which fail because array allocation isn't quite there yet in the codegen). Failing tests conditionally compiled out for now. Change-Id: I39c148f9a7686fac21c844a7a7f5ec86d4e0e1c5 --- src/compiler/codegen/CodegenFactory.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/compiler/codegen/CodegenFactory.cc') diff --git a/src/compiler/codegen/CodegenFactory.cc b/src/compiler/codegen/CodegenFactory.cc index dd63621050..5a75cee80b 100644 --- a/src/compiler/codegen/CodegenFactory.cc +++ b/src/compiler/codegen/CodegenFactory.cc @@ -183,6 +183,10 @@ static void storeValueWide(CompilationUnit* cUnit, RegLocation rlDest, { LIR* defStart; LIR* defEnd; + if(FPREG(rlSrc.lowReg)!=FPREG(rlSrc.highReg)) { + LOG(WARNING) << "rlSrc.lowreg:" << rlSrc.lowReg << ", rlSrc.highReg:" + << rlSrc.highReg; + } assert(FPREG(rlSrc.lowReg)==FPREG(rlSrc.highReg)); assert(rlDest.wide); assert(rlSrc.wide); -- cgit v1.2.3-59-g8ed1b