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 1245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1256 } | 1256 } |
1257 | 1257 |
1258 | 1258 |
1259 void DebugInfo::DebugInfoVerify() { | 1259 void DebugInfo::DebugInfoVerify() { |
1260 CHECK(IsDebugInfo()); | 1260 CHECK(IsDebugInfo()); |
1261 VerifyPointer(shared()); | 1261 VerifyPointer(shared()); |
1262 VerifyPointer(debug_bytecode_array()); | 1262 VerifyPointer(debug_bytecode_array()); |
1263 VerifyPointer(break_points()); | 1263 VerifyPointer(break_points()); |
1264 } | 1264 } |
1265 | 1265 |
| 1266 void BreakPoint::BreakPointVerify() { |
| 1267 CHECK(IsBreakPoint()); |
| 1268 CHECK(condition()->IsString()); |
| 1269 VerifyPointer(condition()); |
| 1270 VerifyPointer(data()); |
| 1271 } |
1266 | 1272 |
1267 void BreakPointInfo::BreakPointInfoVerify() { | 1273 void BreakPointInfo::BreakPointInfoVerify() { |
1268 CHECK(IsBreakPointInfo()); | 1274 CHECK(IsBreakPointInfo()); |
1269 VerifyPointer(break_point_objects()); | 1275 VerifyPointer(break_point_objects()); |
1270 } | 1276 } |
1271 #endif // VERIFY_HEAP | 1277 #endif // VERIFY_HEAP |
1272 | 1278 |
1273 #ifdef DEBUG | 1279 #ifdef DEBUG |
1274 | 1280 |
1275 void JSObject::IncrementSpillStatistics(SpillInformation* info) { | 1281 void JSObject::IncrementSpillStatistics(SpillInformation* info) { |
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1557 | 1563 |
1558 // Both are done at the same time. | 1564 // Both are done at the same time. |
1559 CHECK_EQ(new_it.done(), old_it.done()); | 1565 CHECK_EQ(new_it.done(), old_it.done()); |
1560 } | 1566 } |
1561 | 1567 |
1562 | 1568 |
1563 #endif // DEBUG | 1569 #endif // DEBUG |
1564 | 1570 |
1565 } // namespace internal | 1571 } // namespace internal |
1566 } // namespace v8 | 1572 } // namespace v8 |
OLD | NEW |