Chromium Code Reviews| Index: src/ia32/lithium-gap-resolver-ia32.cc |
| =================================================================== |
| --- src/ia32/lithium-gap-resolver-ia32.cc (revision 6654) |
| +++ src/ia32/lithium-gap-resolver-ia32.cc (working copy) |
| @@ -31,14 +31,20 @@ |
| namespace v8 { |
| namespace internal { |
| -LGapResolver::LGapResolver(LCodeGen* owner) |
| +#ifdef _MSC_VER |
| + #pragma warning(push) |
| + #pragma warning(disable : 4351) |
| +#endif // _MSC_VER |
|
William Hesse
2011/02/05 19:38:12
Can't we disable the warning as a setting in the V
|
| + LGapResolver::LGapResolver(LCodeGen* owner) |
| : cgen_(owner), |
| moves_(32), |
| source_uses_(), |
| destination_uses_(), |
| spilled_register_(-1) {} |
| +#ifdef _MSC_VER |
| + #pragma warning(pop) |
| +#endif // _MSC_VER |
| - |
| void LGapResolver::Resolve(LParallelMove* parallel_move) { |
| ASSERT(HasBeenReset()); |
| // Build up a worklist of moves. |