Commit b9a1f4ece9ff177d4778340229035017903039ed

  • avatar
  • khansen
  • Fri Feb 05 15:30:38 CET 2010
  • Tree SHA1: 9f64673
  • Parent SHA1: 050001d (Fix linking with Sun CC 5.9: undefined symbol JSC::equal(const UStringImpl*,const UStringImpl*))
  • raw diff | raw patch
Prospective compilation fix for Solaris: placement new argument naming

Try to fix "../3rdparty/javascriptcore/JavaScriptCore/runtime/UStringImpl.h", line 273: Error: inPlace is not defined."
The theory is that the compiler is seeing FastAllocBase::operator new(), so the name needs to be the same.
  
270270#if OS(SOLARIS) && COMPILER(SUNCC)
271271private:
272272#endif
273 void* operator new(size_t, void* inPlace) { return inPlace; }
273 void* operator new(size_t, void* p) { return p; }
274274
275275 ~UStringImpl();
276276