Author: shivaram
Date: 2011-12-16 20:50:21 -0500 (Fri, 16 Dec 2011)
New Revision: 3854
Modified:
trunk/osprey/be/cg/x8664/ebo_special.cxx
Log:
Fix for Bug #939. Moved the memory cleanup routines to end of the block after
their uses are completed.
Code Review: Sun Chan
Modified: trunk/osprey/be/cg/x8664/ebo_special.cxx
===================================================================
--- trunk/osprey/be/cg/x8664/ebo_special.cxx 2011-12-17 01:45:58 UTC (rev
3853)
+++ trunk/osprey/be/cg/x8664/ebo_special.cxx 2011-12-17 01:50:21 UTC (rev
3854)
@@ -9476,9 +9476,6 @@
INT P_x = REGISTER_CLASS_register_count(ISA_REGISTER_CLASS_float);
INT local_conflicts = Find_Degree_For_TN(result, regs_in_use);
- TN_MAP_Delete(conflict_map);
- MEM_POOL_Pop(&fma_exe_pool);
-
Get_Disassociated_FMA_TOP_Codes( alu_op, &mul_top, &arith_top );
// Chained single use fma instructions produce simple live ranges
@@ -9523,6 +9520,9 @@
ret_val = TRUE;
}
+
+ TN_MAP_Delete(conflict_map);
+ MEM_POOL_Pop(&fma_exe_pool);
}
return ret_val;
------------------------------------------------------------------------------
Learn Windows Azure Live! Tuesday, Dec 13, 2011
Microsoft is holding a special Learn Windows Azure training event for
developers. It will provide a great way to learn Windows Azure and what it
provides. You can attend the event by watching it streamed LIVE online.
Learn more at http://p.sf.net/sfu/ms-windowsazure
_______________________________________________
Open64-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/open64-devel