Index: src/code-stubs.cc |
diff --git a/src/code-stubs.cc b/src/code-stubs.cc |
index 6bda25d14cc37c310eccee3f0e971bd73d5fbc92..3a4243dc5b853a8ade75d315d346634fe4af9dab 100644 |
--- a/src/code-stubs.cc |
+++ b/src/code-stubs.cc |
@@ -567,7 +567,7 @@ bool ToBooleanStub::Types::Record(Handle<Object> object) { |
ASSERT(!object->IsUndetectableObject()); |
Add(HEAP_NUMBER); |
double value = HeapNumber::cast(*object)->value(); |
- return value != 0 && !isnan(value); |
+ return value != 0 && !std::isnan(value); |
} else { |
// We should never see an internal object at runtime here! |
UNREACHABLE(); |