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

Side by Side Diff: src/debug.cc

Issue 1155683010: Revert of Only record one in n line endings to save space. (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 | src/isolate.cc » ('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/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 2534 matching lines...) Expand 10 before | Expand all | Expand 10 after
2545 // Create the compile state object. 2545 // Create the compile state object.
2546 Handle<Object> event_data; 2546 Handle<Object> event_data;
2547 // Bail out and don't call debugger if exception. 2547 // Bail out and don't call debugger if exception.
2548 if (!MakeCompileEvent(script, v8::CompileError).ToHandle(&event_data)) return; 2548 if (!MakeCompileEvent(script, v8::CompileError).ToHandle(&event_data)) return;
2549 2549
2550 // Process debug event. 2550 // Process debug event.
2551 ProcessDebugEvent(v8::CompileError, Handle<JSObject>::cast(event_data), true); 2551 ProcessDebugEvent(v8::CompileError, Handle<JSObject>::cast(event_data), true);
2552 } 2552 }
2553 2553
2554 2554
2555 void Debug::OnDebugBreak(Handle<Object> break_points_hit, bool auto_continue) { 2555 void Debug::OnDebugBreak(Handle<Object> break_points_hit,
2556 bool auto_continue) {
2556 // The caller provided for DebugScope. 2557 // The caller provided for DebugScope.
2557 AssertDebugContext(); 2558 AssertDebugContext();
2558 // Bail out if there is no listener for this event 2559 // Bail out if there is no listener for this event
2559 if (ignore_events()) return; 2560 if (ignore_events()) return;
2560 2561
2561 HandleScope scope(isolate_); 2562 HandleScope scope(isolate_);
2562 // Create the event data object. 2563 // Create the event data object.
2563 Handle<Object> event_data; 2564 Handle<Object> event_data;
2564 // Bail out and don't call debugger if exception. 2565 // Bail out and don't call debugger if exception.
2565 if (!MakeBreakEvent(break_points_hit).ToHandle(&event_data)) return; 2566 if (!MakeBreakEvent(break_points_hit).ToHandle(&event_data)) return;
(...skipping 797 matching lines...) Expand 10 before | Expand all | Expand 10 after
3363 } 3364 }
3364 3365
3365 3366
3366 void LockingCommandMessageQueue::Clear() { 3367 void LockingCommandMessageQueue::Clear() {
3367 base::LockGuard<base::Mutex> lock_guard(&mutex_); 3368 base::LockGuard<base::Mutex> lock_guard(&mutex_);
3368 queue_.Clear(); 3369 queue_.Clear();
3369 } 3370 }
3370 3371
3371 } // namespace internal 3372 } // namespace internal
3372 } // namespace v8 3373 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/isolate.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698