Various cleanups.

This commit is contained in:
losfair
2019-04-28 12:48:01 +08:00
parent 2262c8a6da
commit 6beb76c3ae
4 changed files with 5 additions and 13 deletions

View File

@ -1453,7 +1453,7 @@ impl FunctionCodeGenerator<CodegenError> for X64FunctionCode {
Event::Wasm(x) => x,
Event::Internal(x) => {
match x {
InternalEvent::Bkpt(callback) => {
InternalEvent::Breakpoint(callback) => {
a.emit_bkpt();
self.breakpoints
.as_mut()