Source/JavaScriptCore/ChangeLog

 12012-07-13 Patrick Gansterer <paroga@webkit.org>
 2
 3 [WIN] Fix compilation of JSGlobalData.h with ENABLE(DFG_JIT)
 4 https://bugs.webkit.org/show_bug.cgi?id=91243
 5
 6 Reviewed by NOBODY (OOPS!).
 7
 8 Disable MSVC warning 4200 "zero-sized array in struct/union" for JSC::ScratchBuffer.
 9
 10 * runtime/JSGlobalData.h:
 11 (JSC):
 12
1132012-07-12 Filip Pizlo <fpizlo@apple.com>
214
315 DFG property access stubs should use structure transition watchpoints

Source/JavaScriptCore/runtime/JSGlobalData.h

@@namespace JSC {
129129#if ENABLE(DFG_JIT)
130130 class ConservativeRoots;
131131
 132#pragma warning(push)
 133#pragma warning(disable: 4200) // Disable "zero-sized array in struct/union" warning
132134 struct ScratchBuffer {
133135 ScratchBuffer()
134136 : m_activeLength(0)

@@namespace JSC {
151153 size_t m_activeLength;
152154 void* m_buffer[0];
153155 };
 156#pragma warning(pop)
154157#endif
155158
156159 class JSGlobalData : public ThreadSafeRefCounted<JSGlobalData> {