Skip to content

Commit 26a0515

Browse files
committed
wip
1 parent f4b1f76 commit 26a0515

File tree

3 files changed

+14
-26
lines changed

3 files changed

+14
-26
lines changed

src/Cargo.lock

+11-23
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/librustc/util/common.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -169,8 +169,8 @@ fn time_threads_impl<T, F>(what: &str, f: F) -> T where
169169
let mut high: u32;
170170

171171
unsafe {
172-
asm!("xor %%rax, %%rax; cpuid; rdtsc"
173-
: "={eax}" (low), "={edx}" (high) :: "memory,rbx,rcx");
172+
asm!("xor %rax, %rax; cpuid; rdtsc"
173+
: "={eax}" (low), "={edx}" (high) :: "memory", "rbx", "rcx");
174174
}
175175

176176
((high as u64) << 32) | (low as u64)

src/librustc_driver/driver.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ pub fn phase_2_configure_and_expand<F>(sess: &Session,
788788
let err_count = ecx.parse_sess.span_diagnostic.err_count();
789789

790790
let krate = time(time_passes, "expand crate", || {
791-
ecx.monotonic_expander().expand_crate(krate);
791+
ecx.monotonic_expander().expand_crate(krate)
792792
});
793793

794794
time(time_passes, "check unused macros", || {

0 commit comments

Comments
 (0)