mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-12 22:14:54 +03:00
[svn r197] Fixed: empty scope statement segfaulted.
This commit is contained in:
parent
61968dc9a3
commit
0dd975e1f4
2 changed files with 3 additions and 1 deletions
|
@ -223,6 +223,7 @@ void ScopeStatement::toIR(IRState* p)
|
||||||
|
|
||||||
gIR->scope() = IRScope(beginbb, endbb);
|
gIR->scope() = IRScope(beginbb, endbb);
|
||||||
|
|
||||||
|
if (statement)
|
||||||
statement->toIR(p);
|
statement->toIR(p);
|
||||||
|
|
||||||
p->scope() = IRScope(p->scopebb(),oldend);
|
p->scope() = IRScope(p->scopebb(),oldend);
|
||||||
|
|
|
@ -6,6 +6,7 @@ demos/glfuncs.d
|
||||||
demos/gltypes.d
|
demos/gltypes.d
|
||||||
demos/qd.d
|
demos/qd.d
|
||||||
demos/qd1.d
|
demos/qd1.d
|
||||||
|
demos/ray.cpp
|
||||||
demos/ray.d
|
demos/ray.d
|
||||||
demos/sdl.d
|
demos/sdl.d
|
||||||
demos/sdldemo1.d
|
demos/sdldemo1.d
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue