Skip to content

Commit 4ce07b6

Browse files
committed
Remove dead code.
1 parent 0dd1376 commit 4ce07b6

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/vm/jvm/QAST/Compiler.nqp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2781,7 +2781,6 @@ class QAST::CompilerJAST {
27812781
has $!outer; # Outer block's BlockInfo
27822782
has @!params; # QAST::Var nodes of params
27832783
has @!locals; # QAST::Var nodes of declared locals
2784-
has @!lexicals; # QAST::Var nodes of declared lexicals
27852784
has %!local_types; # Mapping of local registers to type names
27862785
has %!lexical_types; # Mapping of lexical names to types
27872786
has %!lexical_idxs; # Lexical indexes (but have to know type too)
@@ -2800,7 +2799,6 @@ class QAST::CompilerJAST {
28002799
$!outer := $outer;
28012800
@!params := nqp::list();
28022801
@!locals := nqp::list();
2803-
@!lexicals := nqp::list();
28042802
%!local_types := nqp::hash();
28052803
%!lexical_types := nqp::hash();
28062804
%!lexical_idxs := nqp::hash();
@@ -2829,7 +2827,6 @@ class QAST::CompilerJAST {
28292827
$is_cont ?? 1 !! 2;
28302828
nqp::push(%blv{$!qast.cuid}, [$var.name, $var.value, $flags]);
28312829
}
2832-
@!lexicals[+@!lexicals] := $var;
28332830
}
28342831

28352832
method add_local($var) {
@@ -2891,7 +2888,6 @@ class QAST::CompilerJAST {
28912888
method qast() { $!qast }
28922889
method outer() { $!outer }
28932890
method params() { @!params }
2894-
method lexicals() { @!lexicals }
28952891
method locals() { @!locals }
28962892

28972893
method local_info($name) {

0 commit comments

Comments
 (0)