comparison gen/tollvm.cpp @ 538:8a73062f934e

Automated merge with http://hg.dsource.org/projects/llvmdc
author Christian Kamm <kamm incasoftware de>
date Sun, 24 Aug 2008 17:02:03 +0200
parents 7e2867ed70d9
children fbb1a366cfbc
comparison
equal deleted inserted replaced
533:2fe2d4518618 538:8a73062f934e
703 { 703 {
704 if (gIR->mutexType) 704 if (gIR->mutexType)
705 return gIR->mutexType; 705 return gIR->mutexType;
706 706
707 // win32 707 // win32
708 if (global.params.isWindows) 708 if (global.params.os == OSWindows)
709 { 709 {
710 // CRITICAL_SECTION.sizeof == 68 710 // CRITICAL_SECTION.sizeof == 68
711 std::vector<const LLType*> types(17, LLType::Int32Ty); 711 std::vector<const LLType*> types(17, LLType::Int32Ty);
712 return LLStructType::get(types); 712 return LLStructType::get(types);
713 } 713 }