Mercurial > projects > ldc
diff gen/irstate.cpp @ 189:3aed08fb64f4 trunk
[svn r205] moved some local static variables used for memset and memcpy intrinsics to IrState
author | ChristianK |
---|---|
date | Sat, 10 May 2008 19:00:11 +0200 |
parents | 3a891cfcd249 |
children | 9d44ec83acd1 |
line wrap: on
line diff
--- a/gen/irstate.cpp Sat May 10 06:44:57 2008 +0200 +++ b/gen/irstate.cpp Sat May 10 19:00:11 2008 +0200 @@ -53,6 +53,10 @@ emitMain = false; mainFunc = 0; ir.state = this; + llvm_DeclareMemSet32 = NULL; + llvm_DeclareMemSet64 = NULL; + llvm_DeclareMemCpy32 = NULL; + llvm_DeclareMemCpy64 = NULL; } IrFunction* IRState::func()