Skip to content

Commit

Permalink
chore: Fix for the rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Jul 12, 2024
1 parent 7b3e5b3 commit a7d236c
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 10 deletions.
4 changes: 0 additions & 4 deletions crates/swc_css_parser/benches/compare.rs
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
extern crate swc_malloc;

use codspeed_criterion_compat::{black_box, criterion_group, criterion_main, Bencher, Criterion};
use swc_common::{
comments::SingleThreadedComments, input::StringInput, FileName, Span, SyntaxContext, DUMMY_SP,
};
use criterion::{black_box, criterion_group, criterion_main, Bencher, Criterion};
use swc_common::{comments::SingleThreadedComments, input::StringInput, FileName, Span, DUMMY_SP};
use swc_css_ast::Stylesheet;
use swc_css_parser::{lexer::Lexer, parser::Parser};
Expand Down
2 changes: 0 additions & 2 deletions crates/swc_ecma_parser/benches/compare.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
extern crate swc_malloc;

use codspeed_criterion_compat::{black_box, criterion_group, criterion_main, Bencher, Criterion};
use swc_common::{FileName, Span, SyntaxContext, DUMMY_SP};
use criterion::{black_box, criterion_group, criterion_main, Bencher, Criterion};
use swc_common::{FileName, Span, DUMMY_SP};
use swc_ecma_ast::Module;
use swc_ecma_parser::{Parser, StringInput, Syntax};
Expand Down
2 changes: 0 additions & 2 deletions crates/swc_ecma_transforms_typescript/benches/compat.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ use swc_ecma_visit::{Fold, FoldWith};
static SOURCE: &str = include_str!("assets/AjaxObservable.ts");

fn module(cm: Lrc<SourceMap>) -> Program {
let fm = cm.new_source_file(FileName::Anon, SOURCE.into());
fn module(cm: Lrc<SourceMap>) -> Module {
let fm = cm.new_source_file(FileName::Anon.into(), SOURCE.into());
let lexer = Lexer::new(
Syntax::Typescript(Default::default()),
Expand Down
2 changes: 0 additions & 2 deletions crates/swc_html_parser/benches/compare.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
extern crate swc_malloc;

use codspeed_criterion_compat::{black_box, criterion_group, criterion_main, Bencher, Criterion};
use swc_common::{input::StringInput, FileName, Span, SyntaxContext, DUMMY_SP};
use criterion::{black_box, criterion_group, criterion_main, Bencher, Criterion};
use swc_common::{input::StringInput, FileName, Span, DUMMY_SP};
use swc_html_ast::{Document, DocumentFragment, DocumentMode, Element, Namespace};
use swc_html_parser::{lexer::Lexer, parser::Parser};
Expand Down

0 comments on commit a7d236c

Please sign in to comment.