Skip to content

Commit

Permalink
Relax function arguments optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
HalidOdat committed Sep 27, 2023
1 parent 61d45f8 commit fedf269
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions boa_engine/src/bytecompiler/function.rs
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,6 @@ impl FunctionCompiler {

let can_optimize = can_optimize_params
&& can_optimize_body
&& !parameters.has_arguments()
&& !parameters.has_duplicates()
&& !parameters.has_rest_parameter()
&& parameters.is_simple()
&& self.can_optimize;

Expand Down

0 comments on commit fedf269

Please sign in to comment.