| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without | 
| 3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are | 
| 4 // met: | 4 // met: | 
| 5 // | 5 // | 
| 6 //     * Redistributions of source code must retain the above copyright | 6 //     * Redistributions of source code must retain the above copyright | 
| 7 //       notice, this list of conditions and the following disclaimer. | 7 //       notice, this list of conditions and the following disclaimer. | 
| 8 //     * Redistributions in binary form must reproduce the above | 8 //     * Redistributions in binary form must reproduce the above | 
| 9 //       copyright notice, this list of conditions and the following | 9 //       copyright notice, this list of conditions and the following | 
| 10 //       disclaimer in the documentation and/or other materials provided | 10 //       disclaimer in the documentation and/or other materials provided | 
| (...skipping 383 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 394       e->Verify(); | 394       e->Verify(); | 
| 395     } | 395     } | 
| 396   } | 396   } | 
| 397 } | 397 } | 
| 398 | 398 | 
| 399 | 399 | 
| 400 void FixedDoubleArray::FixedDoubleArrayVerify() { | 400 void FixedDoubleArray::FixedDoubleArrayVerify() { | 
| 401   for (int i = 0; i < length(); i++) { | 401   for (int i = 0; i < length(); i++) { | 
| 402     if (!is_the_hole(i)) { | 402     if (!is_the_hole(i)) { | 
| 403       double value = get_scalar(i); | 403       double value = get_scalar(i); | 
| 404       CHECK(!isnan(value) || | 404       CHECK(!std::isnan(value) || | 
| 405              (BitCast<uint64_t>(value) == | 405              (BitCast<uint64_t>(value) == | 
| 406               BitCast<uint64_t>(canonical_not_the_hole_nan_as_double())) || | 406               BitCast<uint64_t>(canonical_not_the_hole_nan_as_double())) || | 
| 407              ((BitCast<uint64_t>(value) & Double::kSignMask) != 0)); | 407              ((BitCast<uint64_t>(value) & Double::kSignMask) != 0)); | 
| 408     } | 408     } | 
| 409   } | 409   } | 
| 410 } | 410 } | 
| 411 | 411 | 
| 412 | 412 | 
| 413 void JSGeneratorObject::JSGeneratorObjectVerify() { | 413 void JSGeneratorObject::JSGeneratorObjectVerify() { | 
| 414   // In an expression like "new g()", there can be a point where a generator | 414   // In an expression like "new g()", there can be a point where a generator | 
| (...skipping 695 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1110   for (int i = 0; i < number_of_transitions(); ++i) { | 1110   for (int i = 0; i < number_of_transitions(); ++i) { | 
| 1111     if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; | 1111     if (!CheckOneBackPointer(current_map, GetTarget(i))) return false; | 
| 1112   } | 1112   } | 
| 1113   return true; | 1113   return true; | 
| 1114 } | 1114 } | 
| 1115 | 1115 | 
| 1116 | 1116 | 
| 1117 #endif  // DEBUG | 1117 #endif  // DEBUG | 
| 1118 | 1118 | 
| 1119 } }  // namespace v8::internal | 1119 } }  // namespace v8::internal | 
| OLD | NEW | 
|---|