Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
188:7949d3dd0341 | 189:3aed08fb64f4 |
---|---|
51 dmodule = 0; | 51 dmodule = 0; |
52 module = 0; | 52 module = 0; |
53 emitMain = false; | 53 emitMain = false; |
54 mainFunc = 0; | 54 mainFunc = 0; |
55 ir.state = this; | 55 ir.state = this; |
56 llvm_DeclareMemSet32 = NULL; | |
57 llvm_DeclareMemSet64 = NULL; | |
58 llvm_DeclareMemCpy32 = NULL; | |
59 llvm_DeclareMemCpy64 = NULL; | |
56 } | 60 } |
57 | 61 |
58 IrFunction* IRState::func() | 62 IrFunction* IRState::func() |
59 { | 63 { |
60 assert(!functions.empty() && "Function stack is empty!"); | 64 assert(!functions.empty() && "Function stack is empty!"); |