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);
}