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 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1022 } else { | 1022 } else { |
1023 CHECK(e->IsUndefined(isolate)); | 1023 CHECK(e->IsUndefined(isolate)); |
1024 } | 1024 } |
1025 } | 1025 } |
1026 } | 1026 } |
1027 } | 1027 } |
1028 | 1028 |
1029 | 1029 |
1030 void DebugInfo::DebugInfoVerify() { | 1030 void DebugInfo::DebugInfoVerify() { |
1031 CHECK(IsDebugInfo()); | 1031 CHECK(IsDebugInfo()); |
1032 VerifyPointer(shared()); | 1032 if (has_shared()) VerifyPointer(shared()); |
1033 VerifyPointer(abstract_code()); | 1033 VerifyPointer(abstract_code()); |
1034 VerifyPointer(break_points()); | 1034 VerifyPointer(break_points()); |
1035 } | 1035 } |
1036 | 1036 |
1037 | 1037 |
1038 void BreakPointInfo::BreakPointInfoVerify() { | 1038 void BreakPointInfo::BreakPointInfoVerify() { |
1039 CHECK(IsBreakPointInfo()); | 1039 CHECK(IsBreakPointInfo()); |
1040 VerifyPointer(break_point_objects()); | 1040 VerifyPointer(break_point_objects()); |
1041 } | 1041 } |
1042 #endif // VERIFY_HEAP | 1042 #endif // VERIFY_HEAP |
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1328 | 1328 |
1329 // Both are done at the same time. | 1329 // Both are done at the same time. |
1330 CHECK_EQ(new_it.done(), old_it.done()); | 1330 CHECK_EQ(new_it.done(), old_it.done()); |
1331 } | 1331 } |
1332 | 1332 |
1333 | 1333 |
1334 #endif // DEBUG | 1334 #endif // DEBUG |
1335 | 1335 |
1336 } // namespace internal | 1336 } // namespace internal |
1337 } // namespace v8 | 1337 } // namespace v8 |
OLD | NEW |