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

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

Issue 2096863003: [wasm] prototype for breakpoint support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@extend-script-functionality
Patch Set: Created 4 years, 5 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 1011 matching lines...) Expand 10 before | Expand all | Expand 10 after
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
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
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