Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/librustc/middle/trans/adt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -574,7 +574,7 @@ fn padding(size: u64) -> ValueRef {
}

// XXX this utility routine should be somewhere more general
#[always_inline]
#[inline(always)]
fn roundup(x: u64, a: u64) -> u64 { ((x + (a - 1)) / a) * a }

/// Get the discriminant of a constant value. (Not currently used.)
Expand Down
2 changes: 1 addition & 1 deletion src/rt/rust_globals.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#endif

#if defined(__GNUC__)
#define ALWAYS_INLINE __attribute((always_inline)) INLINE
#define ALWAYS_INLINE __attribute__((always_inline)) INLINE
#elif defined(_MSC_VER)
#define ALWAYS_INLINE __forceinline
#else
Expand Down