Rewrite js_ast.NewBaseStore (#12388)

Co-authored-by: dave caruso <me@paperdave.net>
This commit is contained in:
Jarred Sumner
2024-07-10 21:57:40 -07:00
committed by GitHub
parent 96d19fcfe2
commit 226f42e04a
17 changed files with 314 additions and 388 deletions

View File

@@ -50,8 +50,8 @@ pub var initialized_store = false;
pub fn initializeStore() void {
if (initialized_store) return;
initialized_store = true;
js_ast.Expr.Data.Store.create(default_allocator);
js_ast.Stmt.Data.Store.create(default_allocator);
js_ast.Expr.Data.Store.create();
js_ast.Stmt.Data.Store.create();
}
const skip_dirs = &[_]bun.OSPathSlice{