[V8] Fix compilation with Intel CC.
authorThiago Macieira <thiago.macieira@intel.com>
Thu, 1 Sep 2011 09:30:40 +0000 (11:30 +0200)
committerQt by Nokia <qt-info@nokia.com>
Wed, 13 Jun 2012 07:57:45 +0000 (09:57 +0200)
Issue reported upstream at:
http://code.google.com/p/v8/issues/detail?id=1885
http://code.google.com/p/v8/issues/detail?id=689

Change-Id: I8ee37e11b42c724a450e56c10f01e0fbb51bc6f0
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
src/3rdparty/v8/src/objects.cc

index 6a7614c..5ed2e2c 100644 (file)
@@ -11124,6 +11124,7 @@ template class Dictionary<SeededNumberDictionaryShape, uint32_t>;
 
 template class Dictionary<UnseededNumberDictionaryShape, uint32_t>;
 
+#ifndef __INTEL_COMPILER
 template MaybeObject* Dictionary<SeededNumberDictionaryShape, uint32_t>::
     Allocate(int at_least_space_for);
 
@@ -11216,7 +11217,7 @@ int Dictionary<StringDictionaryShape, String*>::NumberOfEnumElements();
 
 template
 int HashTable<SeededNumberDictionaryShape, uint32_t>::FindEntry(uint32_t);
-
+#endif
 
 // Collates undefined and unexisting elements below limit from position
 // zero of the elements. The object stays in Dictionary mode.