diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-07-23 14:55:01 (GMT) |
---|---|---|
committer | Kent Hansen <khansen@trolltech.com> | 2009-09-04 10:41:00 (GMT) |
commit | 6f1ff47beeee6a6af489df58813ebd87237c93b0 (patch) | |
tree | 22e75699e167533e599c18c5a13ce71cd48d65e4 /src/3rdparty/webkit/JavaScriptCore/interpreter/RegisterFile.cpp | |
parent | 228153b29c3e235fa5d40ff09f8403fa2e8f7226 (diff) | |
download | Qt-6f1ff47beeee6a6af489df58813ebd87237c93b0.zip Qt-6f1ff47beeee6a6af489df58813ebd87237c93b0.tar.gz Qt-6f1ff47beeee6a6af489df58813ebd87237c93b0.tar.bz2 |
Fix linking with SunCC 5.9: de-inline the operator new and delete in ParserArenaDeletable.
If you mark functions as "inline", the compiler doesn't have to emit
out-of-line copies. What happens is that Nodes.h declares these
functions, but the inline bodies are in NodeConstructors.h.
ParserArena.cpp used these functions, but didn't include
NodeConstructor.h. I could have added the missing #include, but this
is error-prone, since you have to remember to do that.
Moving the bodies into Nodes.h was also not possible, because it
requires JSC::Parser to be defined and Parser.h needs to #include
"Nodes.h".
So the solution is to de-inline.
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/interpreter/RegisterFile.cpp')
0 files changed, 0 insertions, 0 deletions