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

Side by Side Diff: src/debug.cc

Issue 1210813002: Debugger: remove bogus assertion in BreakLocation constructor. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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 | « no previous file | no next file » | 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/v8.h" 5 #include "src/v8.h"
6 6
7 #include "src/api.h" 7 #include "src/api.h"
8 #include "src/arguments.h" 8 #include "src/arguments.h"
9 #include "src/bootstrapper.h" 9 #include "src/bootstrapper.h"
10 #include "src/code-stubs.h" 10 #include "src/code-stubs.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 int statement_position) 63 int statement_position)
64 : debug_info_(debug_info), 64 : debug_info_(debug_info),
65 pc_offset_(static_cast<int>(rinfo->pc() - debug_info->code()->entry())), 65 pc_offset_(static_cast<int>(rinfo->pc() - debug_info->code()->entry())),
66 original_pc_offset_(static_cast<int>( 66 original_pc_offset_(static_cast<int>(
67 original_rinfo->pc() - debug_info->original_code()->entry())), 67 original_rinfo->pc() - debug_info->original_code()->entry())),
68 rmode_(rinfo->rmode()), 68 rmode_(rinfo->rmode()),
69 original_rmode_(original_rinfo->rmode()), 69 original_rmode_(original_rinfo->rmode()),
70 data_(rinfo->data()), 70 data_(rinfo->data()),
71 original_data_(original_rinfo->data()), 71 original_data_(original_rinfo->data()),
72 position_(position), 72 position_(position),
73 statement_position_(statement_position) { 73 statement_position_(statement_position) {}
74 DCHECK(debug_info_->GetIsolate()->debug()->is_active());
75 }
76 74
77 75
78 BreakLocation::Iterator::Iterator(Handle<DebugInfo> debug_info, 76 BreakLocation::Iterator::Iterator(Handle<DebugInfo> debug_info,
79 BreakLocatorType type) 77 BreakLocatorType type)
80 : debug_info_(debug_info), 78 : debug_info_(debug_info),
81 type_(type), 79 type_(type),
82 reloc_iterator_(debug_info->code(), 80 reloc_iterator_(debug_info->code(),
83 ~RelocInfo::ModeMask(RelocInfo::CODE_AGE_SEQUENCE)), 81 ~RelocInfo::ModeMask(RelocInfo::CODE_AGE_SEQUENCE)),
84 reloc_iterator_original_( 82 reloc_iterator_original_(
85 debug_info->original_code(), 83 debug_info->original_code(),
(...skipping 3303 matching lines...) Expand 10 before | Expand all | Expand 10 after
3389 } 3387 }
3390 3388
3391 3389
3392 void LockingCommandMessageQueue::Clear() { 3390 void LockingCommandMessageQueue::Clear() {
3393 base::LockGuard<base::Mutex> lock_guard(&mutex_); 3391 base::LockGuard<base::Mutex> lock_guard(&mutex_);
3394 queue_.Clear(); 3392 queue_.Clear();
3395 } 3393 }
3396 3394
3397 } // namespace internal 3395 } // namespace internal
3398 } // namespace v8 3396 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698