Skip to content

Commit

Permalink
fix some issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jakobgetz committed Jan 11, 2024
1 parent 6119cd0 commit 894e175
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/replay_gen/src/main.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use replay_gen::codegen::{generate_javascript, generate_standalone};
use replay_gen::irgen::IRGenerator;
use replay_gen::opt::Optimiser;
use replay_gen::trace::{self, WasmEvent};
use replay_gen::trace::WasmEvent;
use replay_gen::trace_optimisation::{ShadowMemoryOptimiser, TraceOptimiser};
use std::fs::File;
use std::io::{self, BufReader};
Expand Down
2 changes: 1 addition & 1 deletion src/node-analyser.cts
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default class Analyser implements AnalyserI {
analysisScript = analysisScript.split('exports.Trace = Trace;').join('')
analysisScript = analysisScript.split('exports.default = Analysis;').join('')
analysisScript = `function setupAnalysis(Wasabi) {\n ${analysisScript};\n return new Analysis(Wasabi, { extended: ${this.options.extended}})}\n`
const setupScript = await fs.readFile('./src/runtime.js') + '\n'
const setupScript = await fs.readFile('./src/wasabi-runtime.js') + '\n'
return wasabiScript + ';' + analysisScript + ';' + setupScript + ';'
}

Expand Down

0 comments on commit 894e175

Please sign in to comment.