Commit 6f009014748085fb94f97fc28d0c48d377f3dab2

  • avatar
  • khansen
  • Mon Feb 08 16:13:58 CET 2010
Fix compilation with WINSCW: "illegal use of incomplete struct/union/class 'ScriptExecutable'"

Due to r48905 in WebKit trunk. WINSCW can't deal with the fact that
T is defined after a RefPtr<T> member. And we can't include Executable.h
from SamplingTool.h since that would create a circular include.
  
113113
114114 void sample(CodeBlock*, Instruction*);
115115
116#if COMPILER(WINSCW)
117 ScriptExecutable* m_executable;
118#else
116119 RefPtr<ScriptExecutable> m_executable;
120#endif
117121 CodeBlock* m_codeBlock;
118122 int m_sampleCount;
119123 int m_opcodeSampleCount;