fix compile errors

This commit is contained in:
Eldar Insafutdinov
2010-10-29 22:58:11 +01:00
parent 53f373ae07
commit f95fa16f58
3 changed files with 1 additions and 10 deletions

View File

@@ -1124,7 +1124,6 @@ struct CallExp : UnaExp
#if IN_LLVM
DValue* toElem(IRState* irs);
void cacheLvalue(IRState* irs);
#endif
};

View File

@@ -35,6 +35,7 @@
#include "cond.h"
#include "expression.h"
#include "lexer.h"
#if !IN_LLVM
#include "lib.h"
#include "json.h"

View File

@@ -771,15 +771,6 @@ DValue* ModExp::toElem(IRState* p)
//////////////////////////////////////////////////////////////////////////////////////////
void CallExp::cacheLvalue(IRState* p)
{
Logger::println("Caching l-value of %s", toChars());
LOG_SCOPE;
cachedLvalue = toElem(p)->getLVal();
}
//////////////////////////////////////////////////////////////////////////////////////////
DValue* CallExp::toElem(IRState* p)
{
Logger::print("CallExp::toElem: %s @ %s\n", toChars(), type->toChars());