X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=ghc%2Frts%2FStable.c;h=a2829c6341b6508b66b1b5b49b46c4734ff330dc;hb=eab7055a9512b150681156f146ee76ad8f67b72f;hp=30d17c04fbaab405adc93fcad111b8b0c4ea5925;hpb=e0bc615fbf7b7461c24b4da038b14e788a3bf6e4;p=ghc-hetmet.git diff --git a/ghc/rts/Stable.c b/ghc/rts/Stable.c index 30d17c0..a2829c6 100644 --- a/ghc/rts/Stable.c +++ b/ghc/rts/Stable.c @@ -137,6 +137,9 @@ initStablePtrTable(void) // Nothing to do: // the table will be allocated the first time makeStablePtr is // called, and we want the table to persist through multiple inits. + // + // Also, getStablePtr is now called from __attribute__((constructor)) + // functions, so initialising things here wouldn't work anyway. } /*