mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-31 03:53:14 +01:00
[svn r355] Get rid of IRState::exps and topexp.
This commit is contained in:
@@ -95,11 +95,6 @@ IrStruct* IRState::topstruct()
|
||||
return structs.back();
|
||||
}
|
||||
|
||||
IRExp* IRState::topexp()
|
||||
{
|
||||
return exps.empty() ? NULL : &exps.back();
|
||||
}
|
||||
|
||||
IRScope& IRState::scope()
|
||||
{
|
||||
assert(!scopes.empty());
|
||||
@@ -173,18 +168,3 @@ IRBuilder* IRBuilderHelper::operator->()
|
||||
assert(b.GetInsertBlock() != NULL);
|
||||
return &b;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
IRExp::IRExp()
|
||||
{
|
||||
e1 = e2 = NULL;
|
||||
v = NULL;
|
||||
}
|
||||
|
||||
IRExp::IRExp(Expression* l, Expression* r, DValue* val)
|
||||
{
|
||||
e1 = l;
|
||||
e2 = r;
|
||||
v = val;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user