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

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

Issue 1479843002: [debugger] Remove obsolete stepping modes. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix one more test Created 5 years 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/debug/debug.h ('k') | src/debug/debug.js » ('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/debug/debug.h" 5 #include "src/debug/debug.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 920 matching lines...) Expand 10 before | Expand all | Expand 10 after
931 if (!frames_it.done()) { 931 if (!frames_it.done()) {
932 // Fill the function to return to with one-shot break points. 932 // Fill the function to return to with one-shot break points.
933 JSFunction* function = frames_it.frame()->function(); 933 JSFunction* function = frames_it.frame()->function();
934 FloodWithOneShot(Handle<JSFunction>(function)); 934 FloodWithOneShot(Handle<JSFunction>(function));
935 // Set target frame pointer. 935 // Set target frame pointer.
936 ActivateStepOut(frames_it.frame()); 936 ActivateStepOut(frames_it.frame());
937 } 937 }
938 return; 938 return;
939 } 939 }
940 940
941 if (step_action != StepNext && step_action != StepMin) { 941 if (step_action != StepNext) {
942 // If there's restarter frame on top of the stack, just get the pointer 942 // If there's restarter frame on top of the stack, just get the pointer
943 // to function which is going to be restarted. 943 // to function which is going to be restarted.
944 if (thread_local_.restarter_frame_function_pointer_ != NULL) { 944 if (thread_local_.restarter_frame_function_pointer_ != NULL) {
945 Handle<JSFunction> restarted_function( 945 Handle<JSFunction> restarted_function(
946 JSFunction::cast(*thread_local_.restarter_frame_function_pointer_)); 946 JSFunction::cast(*thread_local_.restarter_frame_function_pointer_));
947 FloodWithOneShot(restarted_function); 947 FloodWithOneShot(restarted_function);
948 } else if (location.IsStepInLocation()) { 948 } else if (location.IsStepInLocation()) {
949 // Find target function on the expression stack. 949 // Find target function on the expression stack.
950 // Expression stack looks like this (top to bottom): 950 // Expression stack looks like this (top to bottom):
951 // argN 951 // argN
(...skipping 1650 matching lines...) Expand 10 before | Expand all | Expand 10 after
2602 } 2602 }
2603 2603
2604 2604
2605 void LockingCommandMessageQueue::Clear() { 2605 void LockingCommandMessageQueue::Clear() {
2606 base::LockGuard<base::Mutex> lock_guard(&mutex_); 2606 base::LockGuard<base::Mutex> lock_guard(&mutex_);
2607 queue_.Clear(); 2607 queue_.Clear();
2608 } 2608 }
2609 2609
2610 } // namespace internal 2610 } // namespace internal
2611 } // namespace v8 2611 } // namespace v8
OLDNEW
« no previous file with comments | « src/debug/debug.h ('k') | src/debug/debug.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698