Fix RESTORE compilation
This commit is contained in:
@@ -1237,7 +1237,7 @@ class Compiler
|
|||||||
{
|
{
|
||||||
auto restore = cast(RestoreCodeS)c;
|
auto restore = cast(RestoreCodeS)c;
|
||||||
auto label = s.data.label.get(restore.label, int.min);
|
auto label = s.data.label.get(restore.label, int.min);
|
||||||
if (label != int.min)
|
if (label == int.min)
|
||||||
{
|
{
|
||||||
code[i] = new RestoreUndefinedLabelCode(restore.label);
|
code[i] = new RestoreUndefinedLabelCode(restore.label);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user