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

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

Issue 1454673002: Debugger: speed up setting break points in nested SFI. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fix condition Created 5 years, 1 month 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/debug/debug.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 #ifndef V8_DEBUG_DEBUG_H_ 5 #ifndef V8_DEBUG_DEBUG_H_
6 #define V8_DEBUG_DEBUG_H_ 6 #define V8_DEBUG_DEBUG_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/arguments.h" 9 #include "src/arguments.h"
10 #include "src/assembler.h" 10 #include "src/assembler.h"
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 void GetStepinPositions(JavaScriptFrame* frame, StackFrame::Id frame_id, 417 void GetStepinPositions(JavaScriptFrame* frame, StackFrame::Id frame_id,
418 List<int>* results_out); 418 List<int>* results_out);
419 419
420 bool PrepareFunctionForBreakPoints(Handle<SharedFunctionInfo> shared); 420 bool PrepareFunctionForBreakPoints(Handle<SharedFunctionInfo> shared);
421 421
422 // Returns whether the operation succeeded. Compilation can only be triggered 422 // Returns whether the operation succeeded. Compilation can only be triggered
423 // if a valid closure is passed as the second argument, otherwise the shared 423 // if a valid closure is passed as the second argument, otherwise the shared
424 // function needs to be compiled already. 424 // function needs to be compiled already.
425 bool EnsureDebugInfo(Handle<SharedFunctionInfo> shared, 425 bool EnsureDebugInfo(Handle<SharedFunctionInfo> shared,
426 Handle<JSFunction> function); 426 Handle<JSFunction> function);
427 void CreateDebugInfo(Handle<SharedFunctionInfo> shared);
427 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared); 428 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared);
428 429
429 template <typename C> 430 template <typename C>
430 bool CompileToRevealInnerFunctions(C* compilable); 431 bool CompileToRevealInnerFunctions(C* compilable);
431 432
432 // This function is used in FunctionNameUsing* tests. 433 // This function is used in FunctionNameUsing* tests.
433 Handle<Object> FindSharedFunctionInfoInScript(Handle<Script> script, 434 Handle<Object> FindSharedFunctionInfoInScript(Handle<Script> script,
434 int position); 435 int position);
435 436
436 // Returns true if the current stub call is patched to call the debugger. 437 // Returns true if the current stub call is patched to call the debugger.
(...skipping 323 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 761
761 static void PatchDebugBreakSlot(Address pc, Handle<Code> code); 762 static void PatchDebugBreakSlot(Address pc, Handle<Code> code);
762 static void ClearDebugBreakSlot(Address pc); 763 static void ClearDebugBreakSlot(Address pc);
763 }; 764 };
764 765
765 766
766 } // namespace internal 767 } // namespace internal
767 } // namespace v8 768 } // namespace v8
768 769
769 #endif // V8_DEBUG_DEBUG_H_ 770 #endif // V8_DEBUG_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698