diff options
| author | 2011-08-22 17:37:19 -0700 | |
|---|---|---|
| committer | 2011-08-23 16:21:20 -0700 | |
| commit | 3ea4ec5629613013ad9b0d7a69abdb94491ac46f (patch) | |
| tree | 43274b3154f0b2cf58fe1abbe21151652a6bf8fc /src/compiler/codegen/CodegenFactory.cc | |
| parent | 5174fe6e4e931c423e910366ff22ce0838567940 (diff) | |
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
Diffstat (limited to 'src/compiler/codegen/CodegenFactory.cc')
| -rw-r--r-- | src/compiler/codegen/CodegenFactory.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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); |