mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
buh
This commit is contained in:
Submodule src/bun.js/WebKit updated: 64d04ec1a6...615e8585f9
@@ -1879,7 +1879,7 @@ pub const SideEffects = enum(u1) {
|
||||
/// This approach uses a parse-shared "SimplifyState", which heap-allocates
|
||||
/// a stack of expressions, and will re-use this heap across simplifications.
|
||||
pub fn simplifyUnusedExpr(p: anytype, expr: Expr) Expr {
|
||||
comptime assert(@typeInfo(@TypeOf(p)) == .Pointer);
|
||||
comptime bun.assert(@typeInfo(@TypeOf(p)) == .Pointer);
|
||||
if (!p.options.features.dead_code_elimination) return expr;
|
||||
|
||||
return switch (SimplifyState.nonRecursive(p, &expr)) {
|
||||
|
||||
@@ -778,7 +778,8 @@ fn NewPrinter(
|
||||
|
||||
binary_expression_stack: std.ArrayList(BinaryExpressionVisitor) = undefined,
|
||||
|
||||
debug_allowed_to_print_missing: if (Environment.isDebug) bool else void = false,
|
||||
debug_allowed_to_print_missing: if (Environment.isDebug) bool else void =
|
||||
if (Environment.isDebug) false else {},
|
||||
|
||||
const Printer = @This();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user