Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(39)

Side by Side Diff: src/objects-debug.cc

Issue 2685163006: [inspector] migrate set/remove BreakPoint to debug-interface.h (Closed)
Patch Set: added comment about inlined jsframe index Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/objects.h ('k') | src/objects-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698