comparison runtime/internal/llvmdc/bitmanip.d @ 663:6aaa3d3c1183

First part of rename to LDC.
author Christian Kamm <kamm incasoftware de>
date Mon, 06 Oct 2008 22:46:55 +0200
parents d6b71647b622
children
comparison
equal deleted inserted replaced
662:88e23f8c2354 663:6aaa3d3c1183
1 /* 1 /*
2 * D phobos intrinsics for LLVMDC 2 * D phobos intrinsics for LDC
3 * 3 *
4 * From GDC ... public domain! 4 * From GDC ... public domain!
5 */ 5 */
6 module llvmdc.bitmanip; 6 module ldc.bitmanip;
7 7
8 // Check for the right compiler 8 // Check for the right compiler
9 version(LLVMDC) 9 version(LDC)
10 { 10 {
11 // OK 11 // OK
12 } 12 }
13 else 13 else
14 { 14 {
15 static assert(false, "This module is only valid for LLVMDC"); 15 static assert(false, "This module is only valid for LDC");
16 } 16 }
17 17
18 int bsf(uint v) 18 int bsf(uint v)
19 { 19 {
20 uint m = 1; 20 uint m = 1;