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/objects.h" | 5 #include "src/objects.h" |
6 | 6 |
7 #include "src/bootstrapper.h" | 7 #include "src/bootstrapper.h" |
8 #include "src/disasm.h" | 8 #include "src/disasm.h" |
9 #include "src/disassembler.h" | 9 #include "src/disassembler.h" |
10 #include "src/field-type.h" | 10 #include "src/field-type.h" |
(...skipping 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
900 VerifyObjectField(kExtensionOffset); | 900 VerifyObjectField(kExtensionOffset); |
901 } | 901 } |
902 | 902 |
903 | 903 |
904 void AccessorInfo::AccessorInfoVerify() { | 904 void AccessorInfo::AccessorInfoVerify() { |
905 CHECK(IsAccessorInfo()); | 905 CHECK(IsAccessorInfo()); |
906 VerifyPointer(name()); | 906 VerifyPointer(name()); |
907 VerifyPointer(expected_receiver_type()); | 907 VerifyPointer(expected_receiver_type()); |
908 VerifyPointer(getter()); | 908 VerifyPointer(getter()); |
909 VerifyPointer(setter()); | 909 VerifyPointer(setter()); |
910 VerifyPointer(js_getter()); | |
911 VerifyPointer(data()); | 910 VerifyPointer(data()); |
912 } | 911 } |
913 | 912 |
914 | 913 |
915 void AccessorPair::AccessorPairVerify() { | 914 void AccessorPair::AccessorPairVerify() { |
916 CHECK(IsAccessorPair()); | 915 CHECK(IsAccessorPair()); |
917 VerifyPointer(getter()); | 916 VerifyPointer(getter()); |
918 VerifyPointer(setter()); | 917 VerifyPointer(setter()); |
919 } | 918 } |
920 | 919 |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1314 | 1313 |
1315 // Both are done at the same time. | 1314 // Both are done at the same time. |
1316 CHECK_EQ(new_it.done(), old_it.done()); | 1315 CHECK_EQ(new_it.done(), old_it.done()); |
1317 } | 1316 } |
1318 | 1317 |
1319 | 1318 |
1320 #endif // DEBUG | 1319 #endif // DEBUG |
1321 | 1320 |
1322 } // namespace internal | 1321 } // namespace internal |
1323 } // namespace v8 | 1322 } // namespace v8 |
OLD | NEW |