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 #include "src/v8.h" | 5 #include "src/v8.h" |
6 | 6 |
7 #include "src/disasm.h" | 7 #include "src/disasm.h" |
8 #include "src/disassembler.h" | 8 #include "src/disassembler.h" |
9 #include "src/heap/objects-visiting.h" | 9 #include "src/heap/objects-visiting.h" |
10 #include "src/jsregexp.h" | 10 #include "src/jsregexp.h" |
(...skipping 876 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
887 | 887 |
888 void ExecutableAccessorInfo::ExecutableAccessorInfoVerify() { | 888 void ExecutableAccessorInfo::ExecutableAccessorInfoVerify() { |
889 CHECK(IsExecutableAccessorInfo()); | 889 CHECK(IsExecutableAccessorInfo()); |
890 AccessorInfoVerify(); | 890 AccessorInfoVerify(); |
891 VerifyPointer(getter()); | 891 VerifyPointer(getter()); |
892 VerifyPointer(setter()); | 892 VerifyPointer(setter()); |
893 VerifyPointer(data()); | 893 VerifyPointer(data()); |
894 } | 894 } |
895 | 895 |
896 | 896 |
897 void DeclaredAccessorDescriptor::DeclaredAccessorDescriptorVerify() { | |
898 CHECK(IsDeclaredAccessorDescriptor()); | |
899 VerifyPointer(serialized_data()); | |
900 } | |
901 | |
902 | |
903 void DeclaredAccessorInfo::DeclaredAccessorInfoVerify() { | |
904 CHECK(IsDeclaredAccessorInfo()); | |
905 AccessorInfoVerify(); | |
906 VerifyPointer(descriptor()); | |
907 } | |
908 | |
909 | |
910 void AccessorPair::AccessorPairVerify() { | 897 void AccessorPair::AccessorPairVerify() { |
911 CHECK(IsAccessorPair()); | 898 CHECK(IsAccessorPair()); |
912 VerifyPointer(getter()); | 899 VerifyPointer(getter()); |
913 VerifyPointer(setter()); | 900 VerifyPointer(setter()); |
914 } | 901 } |
915 | 902 |
916 | 903 |
917 void AccessCheckInfo::AccessCheckInfoVerify() { | 904 void AccessCheckInfo::AccessCheckInfoVerify() { |
918 CHECK(IsAccessCheckInfo()); | 905 CHECK(IsAccessCheckInfo()); |
919 VerifyPointer(named_callback()); | 906 VerifyPointer(named_callback()); |
(...skipping 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1272 while (map != heap->roots_array_start()[i++]) { | 1259 while (map != heap->roots_array_start()[i++]) { |
1273 CHECK_LT(i, Heap::kStrongRootListLength); | 1260 CHECK_LT(i, Heap::kStrongRootListLength); |
1274 } | 1261 } |
1275 } | 1262 } |
1276 } | 1263 } |
1277 | 1264 |
1278 | 1265 |
1279 #endif // DEBUG | 1266 #endif // DEBUG |
1280 | 1267 |
1281 } } // namespace v8::internal | 1268 } } // namespace v8::internal |
OLD | NEW |