Skip to content

Commit

Permalink
Fix warning that appeared in latest nightly
Browse files Browse the repository at this point in the history
  • Loading branch information
Jethro Beekman committed May 1, 2019
1 parent bd38fc1 commit 90275de
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions enclave-runner/src/tcs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ pub(crate) fn coenter<T: Tcs>(
debug_buf: Option<&RefCell<DebugBuffer>>,
) -> ThreadResult<T> {
let sgx_result: u32;
let mut _tmp: (u64, u64);
let mut _tmp1: u64;
let mut _tmp2: u64;

unsafe {
let mut uninit_debug_buf: DebugBuffer;
Expand All @@ -96,7 +97,7 @@ pub(crate) fn coenter<T: Tcs>(
lea 1f(%rip),%rcx
1:
enclu
" : "={eax}"(sgx_result), "={rbx}"(_tmp.0), "={r10}"(_tmp.1),
" : "={eax}"(sgx_result), "={rbx}"(_tmp1), "={r10}"(_tmp2),
"={rdi}"(p1), "={rsi}"(p2), "={rdx}"(p3), "={r8}"(p4), "={r9}"(p5)
: "{eax}" (2), "{rbx}"(tcs.address()), "{r10}"(debug_buf),
"{rdi}"(p1), "{rsi}"(p2), "{rdx}"(p3), "{r8}"(p4), "{r9}"(p5)
Expand Down

0 comments on commit 90275de

Please sign in to comment.