~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to system/lib/libcxx/hash.cpp

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-09-20 22:44:35 UTC
  • mfrom: (4.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20130920224435-apuwj4fsl3fqv1a6
Tags: 1.5.6~20130920~6010666-1
* New snapshot release
* Update the list of supported architectures to the same as libv8
  (Closes: #723129)
* emlibtool has been removed from upstream.
* Fix warning syntax-error-in-dep5-copyright
* Refresh of the patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
#include "stdexcept"
13
13
#include "type_traits"
14
14
 
 
15
#ifdef __clang__
15
16
#pragma clang diagnostic ignored "-Wtautological-constant-out-of-range-compare"
 
17
#endif
16
18
 
17
19
_LIBCPP_BEGIN_NAMESPACE_STD
18
20
 
155
157
#ifndef _LIBCPP_NO_EXCEPTIONS
156
158
    if (N > 0xFFFFFFFB)
157
159
        throw overflow_error("__next_prime overflow");
 
160
#else
 
161
    (void)N;
158
162
#endif
159
163
}
160
164
 
166
170
#ifndef _LIBCPP_NO_EXCEPTIONS
167
171
    if (N > 0xFFFFFFFFFFFFFFC5ull)
168
172
        throw overflow_error("__next_prime overflow");
 
173
#else
 
174
    (void)N;
169
175
#endif
170
176
}
171
177