Rename alternative_stack to fault.

This commit is contained in:
losfair
2019-07-04 01:27:19 +08:00
parent 650f67a339
commit 5c5ecfff7d
9 changed files with 10 additions and 7 deletions

View File

@ -1236,6 +1236,9 @@ impl X64FunctionCode {
match *param {
Location::GPR(x) => {
let content = m.state.register_values[X64Register::GPR(x).to_index().0];
// FIXME: There might be some corner cases (release -> emit_call_sysv -> acquire?) that cause this assertion to fail.
// Hopefully nothing would be incorrect at runtime.
//assert!(content != MachineValue::Undefined);
m.state.stack_values.push(content);
}

View File

@ -11,7 +11,7 @@
//!
use std::any::Any;
use std::cell::Cell;
use wasmer_runtime_core::alternative_stack::{
use wasmer_runtime_core::fault::{
begin_unsafe_unwind, catch_unsafe_unwind, ensure_sighandler,
};
use wasmer_runtime_core::codegen::BkptMap;