[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>
Thu, 26 Apr 2012 06:57:15 +0000 (08: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: I050e505e6a1977203ef95b51468d420507295203
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
src/3rdparty/v8/src/objects.cc

index 10241de..f7f2879 100644 (file)
@@ -11166,6 +11166,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);
 
@@ -11258,7 +11259,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.