OLD | NEW |
1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef V8_HEAP_HEAP_INL_H_ | 5 #ifndef V8_HEAP_HEAP_INL_H_ |
6 #define V8_HEAP_HEAP_INL_H_ | 6 #define V8_HEAP_HEAP_INL_H_ |
7 | 7 |
8 #include <cmath> | 8 #include <cmath> |
9 | 9 |
10 #include "src/base/platform/platform.h" | 10 #include "src/base/platform/platform.h" |
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 } | 693 } |
694 } | 694 } |
695 } | 695 } |
696 | 696 |
697 | 697 |
698 void VerifySmisVisitor::VisitPointers(Object** start, Object** end) { | 698 void VerifySmisVisitor::VisitPointers(Object** start, Object** end) { |
699 for (Object** current = start; current < end; current++) { | 699 for (Object** current = start; current < end; current++) { |
700 CHECK((*current)->IsSmi()); | 700 CHECK((*current)->IsSmi()); |
701 } | 701 } |
702 } | 702 } |
703 } | 703 } // namespace internal |
704 } // namespace v8::internal | 704 } // namespace v8 |
705 | 705 |
706 #endif // V8_HEAP_HEAP_INL_H_ | 706 #endif // V8_HEAP_HEAP_INL_H_ |
OLD | NEW |