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

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

Issue 1522273003: [debugger] remove some dead code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: exclude debugger statement 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 | « 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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 void CreateDebugInfo(Handle<SharedFunctionInfo> shared); 431 void CreateDebugInfo(Handle<SharedFunctionInfo> shared);
432 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared); 432 static Handle<DebugInfo> GetDebugInfo(Handle<SharedFunctionInfo> shared);
433 433
434 template <typename C> 434 template <typename C>
435 bool CompileToRevealInnerFunctions(C* compilable); 435 bool CompileToRevealInnerFunctions(C* compilable);
436 436
437 // This function is used in FunctionNameUsing* tests. 437 // This function is used in FunctionNameUsing* tests.
438 Handle<Object> FindSharedFunctionInfoInScript(Handle<Script> script, 438 Handle<Object> FindSharedFunctionInfoInScript(Handle<Script> script,
439 int position); 439 int position);
440 440
441 // Returns true if the current stub call is patched to call the debugger.
442 static bool IsDebugBreak(Address addr);
443
444 static Handle<Object> GetSourceBreakLocations( 441 static Handle<Object> GetSourceBreakLocations(
445 Handle<SharedFunctionInfo> shared, 442 Handle<SharedFunctionInfo> shared,
446 BreakPositionAlignment position_aligment); 443 BreakPositionAlignment position_aligment);
447 444
448 // Check whether a global object is the debug global object. 445 // Check whether a global object is the debug global object.
449 bool IsDebugGlobal(JSGlobalObject* global); 446 bool IsDebugGlobal(JSGlobalObject* global);
450 447
451 // Check whether this frame is just about to return. 448 // Check whether this frame is just about to return.
452 bool IsBreakAtReturn(JavaScriptFrame* frame); 449 bool IsBreakAtReturn(JavaScriptFrame* frame);
453 450
(...skipping 302 matching lines...) Expand 10 before | Expand all | Expand 10 after
756 static void PatchDebugBreakSlot(Isolate* isolate, Address pc, 753 static void PatchDebugBreakSlot(Isolate* isolate, Address pc,
757 Handle<Code> code); 754 Handle<Code> code);
758 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); 755 static void ClearDebugBreakSlot(Isolate* isolate, Address pc);
759 }; 756 };
760 757
761 758
762 } // namespace internal 759 } // namespace internal
763 } // namespace v8 760 } // namespace v8
764 761
765 #endif // V8_DEBUG_DEBUG_H_ 762 #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