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/macro-assembler.h" | 10 #include "src/macro-assembler.h" |
(...skipping 1003 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1014 CHECK(e->IsUndefined()); | 1014 CHECK(e->IsUndefined()); |
1015 } | 1015 } |
1016 } | 1016 } |
1017 } | 1017 } |
1018 } | 1018 } |
1019 | 1019 |
1020 | 1020 |
1021 void DebugInfo::DebugInfoVerify() { | 1021 void DebugInfo::DebugInfoVerify() { |
1022 CHECK(IsDebugInfo()); | 1022 CHECK(IsDebugInfo()); |
1023 VerifyPointer(shared()); | 1023 VerifyPointer(shared()); |
1024 VerifyPointer(code()); | 1024 VerifyPointer(abstract_code()); |
1025 VerifyPointer(break_points()); | 1025 VerifyPointer(break_points()); |
1026 } | 1026 } |
1027 | 1027 |
1028 | 1028 |
1029 void BreakPointInfo::BreakPointInfoVerify() { | 1029 void BreakPointInfo::BreakPointInfoVerify() { |
1030 CHECK(IsBreakPointInfo()); | 1030 CHECK(IsBreakPointInfo()); |
1031 VerifyPointer(break_point_objects()); | 1031 VerifyPointer(break_point_objects()); |
1032 } | 1032 } |
1033 #endif // VERIFY_HEAP | 1033 #endif // VERIFY_HEAP |
1034 | 1034 |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1319 | 1319 |
1320 // Both are done at the same time. | 1320 // Both are done at the same time. |
1321 CHECK_EQ(new_it.done(), old_it.done()); | 1321 CHECK_EQ(new_it.done(), old_it.done()); |
1322 } | 1322 } |
1323 | 1323 |
1324 | 1324 |
1325 #endif // DEBUG | 1325 #endif // DEBUG |
1326 | 1326 |
1327 } // namespace internal | 1327 } // namespace internal |
1328 } // namespace v8 | 1328 } // namespace v8 |
OLD | NEW |