comparison gen/tollvm.cpp @ 534:7e2867ed70d9

Get rid of isLinux and isWindows in favor of global.params.os.
author Christian Kamm <kamm incasoftware de>
date Sun, 24 Aug 2008 16:22:58 +0200
parents eada571dc8ff
children fbb1a366cfbc
comparison
equal deleted inserted replaced
532:0beebf923322 534:7e2867ed70d9
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 }