Delete code
This commit is contained in:
parent
7b4e1fe07d
commit
959ed86a7f
|
@ -269,7 +269,6 @@ CPU.prototype.wasm_patch = function(wm)
|
|||
|
||||
this.switch_cs_real_mode = get_import("switch_cs_real_mode");
|
||||
this.pic_call_irq = get_import("pic_call_irq");
|
||||
this.get_tss_stack_addr = get_import("get_tss_stack_addr_js");
|
||||
|
||||
this.do_many_cycles_native = get_import("do_many_cycles_native");
|
||||
this.cycle_internal = get_import("cycle_internal");
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
use cpu2::cpu::{
|
||||
get_tss_stack_addr, safe_read16, safe_read32s, safe_write16, safe_write32,
|
||||
translate_address_read, translate_address_system_read, translate_address_system_write,
|
||||
writable_or_pagefault,
|
||||
safe_read16, safe_read32s, safe_write16, safe_write32, translate_address_read,
|
||||
translate_address_system_read, translate_address_system_write, writable_or_pagefault,
|
||||
};
|
||||
use cpu2::misc_instr::{push16, push32};
|
||||
|
||||
|
@ -36,6 +35,3 @@ pub unsafe fn push16_js(value: i32) { push16(value).unwrap() }
|
|||
|
||||
#[no_mangle]
|
||||
pub unsafe fn push32_js(value: i32) { push32(value).unwrap() }
|
||||
|
||||
#[no_mangle]
|
||||
pub unsafe fn get_tss_stack_addr_js(dpl: u8) -> u32 { get_tss_stack_addr(dpl).unwrap() }
|
||||
|
|
Loading…
Reference in a new issue