Removed dead ceiling function.

R=bmeurer@chromium.org

Review URL: https://codereview.chromium.org/88133002

git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@18079 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
parent f951a2e8
......@@ -288,12 +288,6 @@ void OS::DebugBreak() {
// ----------------------------------------------------------------------------
// Math functions
double ceiling(double x) {
// Correct buggy 'ceil' on some systems (i.e. FreeBSD, OS X 10.5)
return (-1.0 < x && x < 0.0) ? -0.0 : ceil(x);
}
double modulo(double x, double y) {
return fmod(x, y);
}
......
......@@ -133,11 +133,6 @@ intptr_t OS::MaxVirtualMemory() {
}
double ceiling(double x) {
return ceil(x);
}
#if V8_TARGET_ARCH_IA32
static void MemMoveWrapper(void* dest, const void* src, size_t size) {
memmove(dest, src, size);
......
......@@ -93,7 +93,6 @@ inline int lrint(double flt) {
namespace v8 {
namespace internal {
double ceiling(double x);
double modulo(double x, double y);
// Custom implementation of math functions.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment