mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-11 18:33:14 +01:00
Fixed crashes when compiling interpret test.
This commit is contained in:
@@ -13,11 +13,15 @@
|
||||
|
||||
DVarValue::DVarValue(Type* t, VarDeclaration* vd, LLValue* llvmValue)
|
||||
: DValue(t), var(vd), val(llvmValue)
|
||||
{}
|
||||
{
|
||||
assert(isaPointer(llvmValue));
|
||||
}
|
||||
|
||||
DVarValue::DVarValue(Type* t, LLValue* llvmValue)
|
||||
: DValue(t), var(0), val(llvmValue)
|
||||
{}
|
||||
{
|
||||
assert(isaPointer(llvmValue));
|
||||
}
|
||||
|
||||
LLValue* DVarValue::getLVal()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user