1
0

Fix RESTORE compilation

This commit is contained in:
otya128
2016-12-06 18:55:59 +09:00
parent 55fc5c169b
commit f172fce38f

View File

@@ -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);
} }