20814N/Adiff --git a/layout/base/FrameLayerBuilder.cpp b/layout/base/FrameLayerBuilder.cpp
20814N/Aindex e3ab866..c9486fe 100644
20814N/A--- a/layout/base/FrameLayerBuilder.cpp
20814N/A+++ b/layout/base/FrameLayerBuilder.cpp
20814N/A@@ -914,6 +914,9 @@ ContainerState::PopThebesLayerData()
20814N/A // a rectangle, it must therefore contain the visible region's GetBounds.
20814N/A // Note that the visible region is already clipped appropriately.
20814N/A nsIntRect visibleRect = data->mVisibleRegion.GetBounds();
20814N/A+#if defined(__SUNPRO_CC) && defined(__sparc)
20814N/A+ asm ("nop"); // compiler optimiztion bug
20814N/A+#endif
20814N/A colorLayer->SetClipRect(&visibleRect);
20814N/A
20814N/A layer = colorLayer;