Implement symbol hiding for JSC's JIT functions.
commit26d0990c66068bfc92a2ec77512b26d4a0c11b02
authorThiago Macieira <thiago.macieira@nokia.com>
Fri, 4 Sep 2009 13:38:35 +0000 (4 15:38 +0200)
committerThiago Macieira <thiago.macieira@nokia.com>
Fri, 4 Sep 2009 14:30:43 +0000 (4 16:30 +0200)
tree13d66ae7300678fa5d63c481492ecedee4c44727
parentf0b0ab1291dec59ae2fe1e88a3b20d173772e175
Implement symbol hiding for JSC's JIT functions.

These functions are implemented directly in assembly, so they need the
proper directives to enable/disable visibility. On ELF systems, it's
.hidden, whereas on Mach-O systems (Mac) it's .private_extern. On
Windows, it's not necessary since you have to explicitly export. I
also implemented the AIX idiom, though it's unlikely anyone will
implement AIX/POWER JIT.

That leaves only HP-UX on PA-RISC unimplemented, from the platforms
that Qt supports. It's also unlikely that we'll imlpement JIT for it.

Reviewed-by: Kent Hansen
src/3rdparty/webkit/JavaScriptCore/jit/JITStubs.cpp