Mercurial > hg > truffle
comparison src/share/vm/code/compressedStream.cpp @ 8721:47bc9800972c
8006498: #if <symbol> is wrong in the code.
Summary: ASSERT and other symbols used incorrectly with #if are supposed to be defined or not.
Reviewed-by: dholmes, mikael
author | jprovino |
---|---|
date | Wed, 06 Mar 2013 13:46:55 -0500 |
parents | 5fa559508216 |
children | de6a9e811145 |
comparison
equal
deleted
inserted
replaced
8720:fad90b102190 | 8721:47bc9800972c |
---|---|
193 // Avoid a VS2005 compiler stack overflow w/ fastdebug build. | 193 // Avoid a VS2005 compiler stack overflow w/ fastdebug build. |
194 // The following pragma optimize turns off optimization ONLY | 194 // The following pragma optimize turns off optimization ONLY |
195 // for this block (a matching directive turns it back on later). | 195 // for this block (a matching directive turns it back on later). |
196 // These directives can be removed once the MS VS.NET 2005 | 196 // These directives can be removed once the MS VS.NET 2005 |
197 // compiler stack overflow is fixed. | 197 // compiler stack overflow is fixed. |
198 #if _MSC_VER >=1400 && !defined(_WIN64) | 198 #if defined(_MSC_VER) && _MSC_VER >=1400 && !defined(_WIN64) |
199 #pragma optimize("", off) | 199 #pragma optimize("", off) |
200 #pragma warning(disable: 4748) | 200 #pragma warning(disable: 4748) |
201 #endif | 201 #endif |
202 | 202 |
203 // generator for an "interesting" set of critical values | 203 // generator for an "interesting" set of critical values |
274 tty->print_cr("finished test of %d stream values, size %d", step, length2); | 274 tty->print_cr("finished test of %d stream values, size %d", step, length2); |
275 guarantee(length == length2, "bad length"); | 275 guarantee(length == length2, "bad length"); |
276 guarantee(fails == 0, "test failures"); | 276 guarantee(fails == 0, "test failures"); |
277 } | 277 } |
278 | 278 |
279 #if _MSC_VER >=1400 && !defined(_WIN64) | 279 #if defined(_MSC_VER) &&_MSC_VER >=1400 && !defined(_WIN64) |
280 #pragma warning(default: 4748) | 280 #pragma warning(default: 4748) |
281 #pragma optimize("", on) | 281 #pragma optimize("", on) |
282 #endif | 282 #endif |
283 | 283 |
284 #endif // PRODUCT | 284 #endif // PRODUCT |