Fix build break after r154861

https://bugs.webkit.org/show_bug.cgi?id=120503

Reviewed by Geoffrey Garen.

Unreviewed build fix attempt for GTK, Qt Windows and CMake based ports.

* CMakeLists.txt:
* GNUmakefile.list.am:
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
* Target.pri:
* runtime/MapData.h:
(JSC::MapData::KeyType::KeyType):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@154864 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8b46ebcf
......@@ -335,8 +335,6 @@ set(JavaScriptCore_SOURCES
runtime/JSGlobalObjectFunctions.cpp
runtime/JSLock.cpp
runtime/JSMap.cpp
runtime/JSMapConstructor.cpp
runtime/JSMapPrototype.cpp
runtime/JSNameScope.cpp
runtime/JSNotAnObject.cpp
runtime/JSONObject.cpp
......@@ -364,7 +362,9 @@ set(JavaScriptCore_SOURCES
runtime/JSWrapperObject.cpp
runtime/LiteralParser.cpp
runtime/Lookup.cpp
runtime/MapConstructor.cpp
runtime/MapData.cpp
runtime/MapPrototype.cpp
runtime/MathObject.cpp
runtime/MemoryStatistics.cpp
runtime/NameConstructor.cpp
......
2013-08-29 Ryuan Choi <ryuan.choi@samsung.com>
Fix build break after r154861
https://bugs.webkit.org/show_bug.cgi?id=120503
Reviewed by Geoffrey Garen.
Unreviewed build fix attempt for GTK, Qt Windows and CMake based ports.
* CMakeLists.txt:
* GNUmakefile.list.am:
* JavaScriptCore.vcxproj/JavaScriptCore.vcxproj.filters:
* Target.pri:
* runtime/MapData.h:
(JSC::MapData::KeyType::KeyType):
2013-08-29 Andreas Kling <akling@apple.com>
CodeBlock: LLIntCallLinkInfo vector can be sized-to-fit at creation.
......
......@@ -873,8 +873,6 @@ javascriptcore_sources += \
Source/JavaScriptCore/runtime/JSLock.cpp \
Source/JavaScriptCore/runtime/JSLock.h \
Source/JavaScriptCore/runtime/JSMap.cpp \
Source/JavaScriptCore/runtime/JSMapConstructor.cpp \
Source/JavaScriptCore/runtime/JSMapPrototype.cpp \
Source/JavaScriptCore/runtime/JSNotAnObject.cpp \
Source/JavaScriptCore/runtime/JSNotAnObject.h \
Source/JavaScriptCore/runtime/JSObject.cpp \
......@@ -935,6 +933,12 @@ javascriptcore_sources += \
Source/JavaScriptCore/runtime/LiteralParser.h \
Source/JavaScriptCore/runtime/Lookup.cpp \
Source/JavaScriptCore/runtime/Lookup.h \
Source/JavaScriptCore/runtime/MapConstructor.cpp \
Source/JavaScriptCore/runtime/MapConstructor.h\
Source/JavaScriptCore/runtime/MapData.cpp \
Source/JavaScriptCore/runtime/MapData.h \
Source/JavaScriptCore/runtime/MapPrototype.cpp \
Source/JavaScriptCore/runtime/MapPrototype.h \
Source/JavaScriptCore/runtime/MatchResult.h \
Source/JavaScriptCore/runtime/MathObject.cpp \
Source/JavaScriptCore/runtime/MathObject.h \
......
......@@ -576,12 +576,6 @@
<ClCompile Include="..\runtime\JSMap.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\runtime\JSMapPrototype.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\runtime\JSMapConstructor.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\runtime\JSNameScope.cpp">
<Filter>runtime</Filter>
</ClCompile>
......@@ -630,9 +624,15 @@
<ClCompile Include="..\runtime\Lookup.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\runtime\MapPrototype.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\runtime\MapData.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\runtime\MapConstructor.cpp">
<Filter>runtime</Filter>
</ClCompile>
<ClCompile Include="..\runtime\MathObject.cpp">
<Filter>runtime</Filter>
</ClCompile>
......
......@@ -324,8 +324,6 @@ SOURCES += \
runtime/JSGlobalObjectFunctions.cpp \
runtime/JSLock.cpp \
runtime/JSMap.cpp \
runtime/JSMapConstructor.cpp \
runtime/JSPrototype.cpp \
runtime/JSNameScope.cpp \
runtime/JSNameScope.cpp \
runtime/JSNotAnObject.cpp \
......@@ -353,7 +351,9 @@ SOURCES += \
runtime/JSWrapperObject.cpp \
runtime/LiteralParser.cpp \
runtime/Lookup.cpp \
runtime/MapConstructor.cpp \
runtime/MapData.cpp \
runtime/Prototype.cpp \
runtime/MathObject.cpp \
runtime/MemoryStatistics.cpp \
runtime/NameConstructor.cpp \
......
......@@ -32,6 +32,7 @@
#include <wtf/HashFunctions.h>
#include <wtf/HashMap.h>
#include <wtf/MathExtras.h>
namespace JSC {
......@@ -148,7 +149,7 @@ ALWAYS_INLINE MapData::KeyType::KeyType(JSValue v)
return;
}
double d = v.asDouble();
if (std::isnan(d) || (signbit(d) && d == 0.0)) {
if (std::isnan(d) || (std::signbit(d) && d == 0.0)) {
value = v;
return;
}
......
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