| 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/macro-assembler.h" | 9 #include "src/macro-assembler.h" |
| 10 #include "src/ostreams.h" | 10 #include "src/ostreams.h" |
| (...skipping 866 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 877 } | 877 } |
| 878 | 878 |
| 879 | 879 |
| 880 void AccessorInfo::AccessorInfoVerify() { | 880 void AccessorInfo::AccessorInfoVerify() { |
| 881 VerifyPointer(name()); | 881 VerifyPointer(name()); |
| 882 VerifyPointer(flag()); | 882 VerifyPointer(flag()); |
| 883 VerifyPointer(expected_receiver_type()); | 883 VerifyPointer(expected_receiver_type()); |
| 884 } | 884 } |
| 885 | 885 |
| 886 | 886 |
| 887 void SloppyBlockWithEvalContextExtension:: |
| 888 SloppyBlockWithEvalContextExtensionVerify() { |
| 889 CHECK(IsSloppyBlockWithEvalContextExtension()); |
| 890 VerifyObjectField(kScopeInfoOffset); |
| 891 VerifyObjectField(kExtensionOffset); |
| 892 } |
| 893 |
| 894 |
| 887 void ExecutableAccessorInfo::ExecutableAccessorInfoVerify() { | 895 void ExecutableAccessorInfo::ExecutableAccessorInfoVerify() { |
| 888 CHECK(IsExecutableAccessorInfo()); | 896 CHECK(IsExecutableAccessorInfo()); |
| 889 AccessorInfoVerify(); | 897 AccessorInfoVerify(); |
| 890 VerifyPointer(getter()); | 898 VerifyPointer(getter()); |
| 891 VerifyPointer(setter()); | 899 VerifyPointer(setter()); |
| 892 VerifyPointer(data()); | 900 VerifyPointer(data()); |
| 893 } | 901 } |
| 894 | 902 |
| 895 | 903 |
| 896 void AccessorPair::AccessorPairVerify() { | 904 void AccessorPair::AccessorPairVerify() { |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1298 | 1306 |
| 1299 // Both are done at the same time. | 1307 // Both are done at the same time. |
| 1300 CHECK_EQ(new_it.done(), old_it.done()); | 1308 CHECK_EQ(new_it.done(), old_it.done()); |
| 1301 } | 1309 } |
| 1302 | 1310 |
| 1303 | 1311 |
| 1304 #endif // DEBUG | 1312 #endif // DEBUG |
| 1305 | 1313 |
| 1306 } // namespace internal | 1314 } // namespace internal |
| 1307 } // namespace v8 | 1315 } // namespace v8 |
| OLD | NEW |