Skip to content

Commit

Permalink
Merge #137
Browse files Browse the repository at this point in the history
137: Fix warning that appeared in latest nightly r=jseyfried a=jethrogb

See rust-lang/rust#60450

Co-authored-by: Jethro Beekman <[email protected]>
  • Loading branch information
bors[bot] and Jethro Beekman committed May 2, 2019
2 parents bd38fc1 + 90275de commit 828bc13
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 828bc13

Please sign in to comment.