From: akling@apple.com Date: Wed, 27 Nov 2013 15:10:25 +0000 (+0000) Subject: Structure::m_staticFunctionReified should be a single bit. X-Git-Url: https://git.webkit.org/?p=WebKit-https.git;a=commitdiff_plain;h=61cc6435d93e9833ab88242a27499cbfaff91505 Structure::m_staticFunctionReified should be a single bit. Shave 8 bytes off of JSC::Structure by jamming m_staticFunctionReified into the bitfield just above. Reviewed by Antti Koivisto. git-svn-id: https://svn.webkit.org/repository/webkit/trunk@159814 268f45cc-cd09-0410-ab3c-d52691b4dbfc --- diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog index 4aa0c4be67f7..5285d2598e9a 100644 --- a/Source/JavaScriptCore/ChangeLog +++ b/Source/JavaScriptCore/ChangeLog @@ -1,3 +1,13 @@ +2013-11-27 Andreas Kling + + Structure::m_staticFunctionReified should be a single bit. + + + Shave 8 bytes off of JSC::Structure by jamming m_staticFunctionReified + into the bitfield just above. + + Reviewed by Antti Koivisto. + 2013-11-27 Andreas Kling JSActivation constructor should use NotNull placement new. diff --git a/Source/JavaScriptCore/runtime/Structure.h b/Source/JavaScriptCore/runtime/Structure.h index 28194d8af677..ac4a77ae12d9 100644 --- a/Source/JavaScriptCore/runtime/Structure.h +++ b/Source/JavaScriptCore/runtime/Structure.h @@ -508,7 +508,7 @@ private: unsigned m_specificFunctionThrashCount : 2; unsigned m_preventExtensions : 1; unsigned m_didTransition : 1; - unsigned m_staticFunctionReified; + unsigned m_staticFunctionReified : 1; }; } // namespace JSC