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, 28 Mar 2012 18:03:39 +0000 (20:03 +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: I96744851145e0077c21a03271dc1f0d165fb4672
Reviewed-by: Kent Hansen <kent.hansen@nokia.com>
src/3rdparty/v8/src/objects.cc

index e13bd6f..3cd14a5 100644 (file)
@@ -11121,6 +11121,7 @@ template class Dictionary<StringDictionaryShape, String*>;
 
 template class Dictionary<NumberDictionaryShape, uint32_t>;
 
+#ifndef __INTEL_COMPILER
 template MaybeObject* Dictionary<NumberDictionaryShape, uint32_t>::Allocate(
     int);
 
@@ -11195,7 +11196,7 @@ int Dictionary<StringDictionaryShape, String*>::NumberOfEnumElements();
 
 template
 int HashTable<NumberDictionaryShape, 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.