Fix Visual Studio 2010 build.
authorparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 20 Feb 2012 23:37:01 +0000 (23:37 +0000)
committerparoga@webkit.org <paroga@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 20 Feb 2012 23:37:01 +0000 (23:37 +0000)
* bytecompiler/NodesCodegen.cpp:
(JSC::PropertyListNode::emitBytecode):

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@108265 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/bytecompiler/NodesCodegen.cpp

index 758dc2b..cc44b6d 100644 (file)
@@ -1,3 +1,10 @@
+2012-02-20  Patrick Gansterer  <paroga@webkit.org>
+
+        Fix Visual Studio 2010 build.
+
+        * bytecompiler/NodesCodegen.cpp:
+        (JSC::PropertyListNode::emitBytecode):
+
 2012-02-16  Gavin Barraclough  <barraclough@apple.com>
 
         Move special __proto__ property to Object.prototype
index ce2cabc..2d41819 100644 (file)
@@ -255,7 +255,7 @@ RegisterID* PropertyListNode::emitBytecode(BytecodeGenerator& generator, Registe
             if (node->m_type == PropertyNode::Constant)
                 continue;
 
-            GetterSetterPair pair(node, 0);
+            GetterSetterPair pair(node, static_cast<PropertyNode*>(0));
             std::pair<GetterSetterMap::iterator, bool> result = map.add(node->name().impl(), pair);
             if (!result.second)
                 result.first->second.second = node;