Skip to content

Commit

Permalink
Remove $!unit_ready
Browse files Browse the repository at this point in the history
It's replaced with `$!setting_loaded` with somewhat different semantics.
Since `$!unit_ready` was used only once and not exposed to the public
it's now safe to remove it.
  • Loading branch information
vrurg committed Mar 9, 2020
1 parent 3583254 commit 75da4cf
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Perl6/World.nqp
Expand Up @@ -516,7 +516,6 @@ class Perl6::World is HLL::World {
has $!setting_fixup_task;

has int $!in_unit_parse;
has int $!unit_ready;
has int $!have_outer;
has int $!setting_loaded;
has $!setting_name;
Expand All @@ -526,7 +525,6 @@ class Perl6::World is HLL::World {
%!code_object_fixup_list := {};
$!record_precompilation_dependencies := 1;
%!quote_lang_cache := {};
$!unit_ready := 0;
$!setting_loaded := 0;
$!in_unit_parse := 0;
}
Expand Down Expand Up @@ -829,8 +827,6 @@ class Perl6::World is HLL::World {
}
}

$!unit_ready := 1;

self.add_load_dependency_task(:deserialize_ast($!setting_fixup_task), :fixup_ast($!setting_fixup_task));
}

Expand Down

0 comments on commit 75da4cf

Please sign in to comment.