Skip to content

Commit d649de0

Browse files
committed
[js] Stop turning the block containing the mainline statements into a declaration_static block.
This saves emitted code size.
1 parent bad4c0d commit d649de0

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/vm/js/Compiler.nqp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1399,7 +1399,6 @@ class QAST::CompilerJS does DWIMYNameMangling does SerializeOnce {
13991399
my $instant := try $*INSTANT;
14001400

14011401

1402-
$node[0].blocktype('declaration_static'); # HACK
14031402
# TODO needs thinking about, it seems there is really nothing to capture here and a setting is forced as outer
14041403
self.mark_serializable($node[0]);
14051404

0 commit comments

Comments
 (0)