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 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1022 CHECK(e->IsUndefined()); | 1022 CHECK(e->IsUndefined()); |
1023 } | 1023 } |
1024 } | 1024 } |
1025 } | 1025 } |
1026 } | 1026 } |
1027 | 1027 |
1028 | 1028 |
1029 void DebugInfo::DebugInfoVerify() { | 1029 void DebugInfo::DebugInfoVerify() { |
1030 CHECK(IsDebugInfo()); | 1030 CHECK(IsDebugInfo()); |
1031 VerifyPointer(shared()); | 1031 VerifyPointer(shared()); |
1032 VerifyPointer(original_code()); | |
1033 VerifyPointer(code()); | 1032 VerifyPointer(code()); |
1034 VerifyPointer(break_points()); | 1033 VerifyPointer(break_points()); |
1035 } | 1034 } |
1036 | 1035 |
1037 | 1036 |
1038 void BreakPointInfo::BreakPointInfoVerify() { | 1037 void BreakPointInfo::BreakPointInfoVerify() { |
1039 CHECK(IsBreakPointInfo()); | 1038 CHECK(IsBreakPointInfo()); |
1040 code_position()->SmiVerify(); | 1039 code_position()->SmiVerify(); |
1041 source_position()->SmiVerify(); | 1040 source_position()->SmiVerify(); |
1042 statement_position()->SmiVerify(); | 1041 statement_position()->SmiVerify(); |
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1272 : it.rinfo()->target_object(); | 1271 : it.rinfo()->target_object(); |
1273 CHECK(!CanLeak(target, heap, skip_weak_cell)); | 1272 CHECK(!CanLeak(target, heap, skip_weak_cell)); |
1274 } | 1273 } |
1275 } | 1274 } |
1276 | 1275 |
1277 | 1276 |
1278 #endif // DEBUG | 1277 #endif // DEBUG |
1279 | 1278 |
1280 } // namespace internal | 1279 } // namespace internal |
1281 } // namespace v8 | 1280 } // namespace v8 |
OLD | NEW |