author | Jeff Walden <jwalden@mit.edu> |
Mon, 11 Jun 2012 16:16:46 -0700 | |
changeset 97300 | 4b8385bcfc2025aaf68f32f48aa9be5ef4893772 |
parent 97299 | 14b79d264b0b07db0511469b81988940aaead90a |
child 97301 | 13a8fa3afd28f98d71aa3737d8ecd9a1facd589f |
push id | 22968 |
push user | emorley@mozilla.com |
push date | Fri, 22 Jun 2012 10:29:13 +0000 |
treeherder | mozilla-central@aaa6906f8e92 [default view] [failures only] |
perfherder | [talos] [build metrics] [platform microbench] (compared to previous push) |
reviewers | Ms2ger |
milestone | 16.0a1 |
first release with | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
last release without | nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
|
mfbt/Assertions.h | file | annotate | diff | comparison | revisions | |
mfbt/HashFunctions.cpp | file | annotate | diff | comparison | revisions | |
mfbt/HashFunctions.h | file | annotate | diff | comparison | revisions |
--- a/mfbt/Assertions.h +++ b/mfbt/Assertions.h @@ -4,18 +4,18 @@ * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* Implementations of runtime and static assertion macros for C and C++. */ #ifndef mozilla_Assertions_h_ #define mozilla_Assertions_h_ #include "mozilla/Attributes.h" -#include "mozilla/Types.h" +#include <stddef.h> #include <stdio.h> #include <stdlib.h> #ifdef WIN32 /* * TerminateProcess and GetCurrentProcess are defined in <winbase.h>, which * further depends on <windef.h>. We hardcode these few definitions manually * because those headers clutter the global namespace with a significant * number of undesired macros and symbols.
--- a/mfbt/HashFunctions.cpp +++ b/mfbt/HashFunctions.cpp @@ -1,16 +1,17 @@ /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ /* Implementations of hash functions. */ #include "mozilla/HashFunctions.h" +#include "mozilla/Types.h" #include <string.h> namespace mozilla { MFBT_API(uint32_t) HashBytes(const void* bytes, size_t length) {
--- a/mfbt/HashFunctions.h +++ b/mfbt/HashFunctions.h @@ -43,16 +43,17 @@ */ #ifndef mozilla_HashFunctions_h_ #define mozilla_HashFunctions_h_ #include "mozilla/Assertions.h" #include "mozilla/Attributes.h" #include "mozilla/StandardInteger.h" +#include "mozilla/Types.h" #ifdef __cplusplus namespace mozilla { /** * The golden ratio as a 32-bit fixed-point value. */ static const uint32_t GoldenRatioU32 = 0x9E3779B9U;