Merge pull request #196 from phil-opp/p1

Fix clobber syntax and add missing rsi clobber in code
This commit is contained in:
Philipp Oppermann
2016-08-04 01:12:50 +02:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -509,7 +509,7 @@ macro_rules! handler_with_error_code {
call $0"
:: "i"($name as extern "C" fn(
*const ExceptionStackFrame, u64) -> !)
: "rdi,rsi" : "intel");
: "rdi","rsi" : "intel");
::core::intrinsics::unreachable();
}
}

View File

@@ -29,7 +29,7 @@ macro_rules! handler_with_error_code {
call $0"
:: "i"($name as extern "C" fn(
*const ExceptionStackFrame, u64) -> !)
: "rdi" : "intel");
: "rdi","rsi" : "intel");
::core::intrinsics::unreachable();
}
}