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

Side by Side Diff: src/debug.h

Issue 687003005: Introduce phantom weak handles in the API and use them internally for debug info (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 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 | Annotate | Revision Log
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_H_ 5 #ifndef V8_DEBUG_H_
6 #define V8_DEBUG_H_ 6 #define V8_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 541 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 Handle<JSObject> event_data, 552 Handle<JSObject> event_data,
553 bool auto_continue); 553 bool auto_continue);
554 void InvokeMessageHandler(MessageImpl message); 554 void InvokeMessageHandler(MessageImpl message);
555 555
556 static bool CompileDebuggerScript(Isolate* isolate, int index); 556 static bool CompileDebuggerScript(Isolate* isolate, int index);
557 void ClearOneShot(); 557 void ClearOneShot();
558 void ActivateStepIn(StackFrame* frame); 558 void ActivateStepIn(StackFrame* frame);
559 void ClearStepIn(); 559 void ClearStepIn();
560 void ActivateStepOut(StackFrame* frame); 560 void ActivateStepOut(StackFrame* frame);
561 void ClearStepNext(); 561 void ClearStepNext();
562 // Returns whether the compile succeeded. 562 void RemoveDebugInfoAndClearFromShared(Handle<DebugInfo> debug_info);
563 void RemoveDebugInfo(Handle<DebugInfo> debug_info); 563 void RemoveDebugInfo(DebugInfo** debug_info);
564 Handle<Object> CheckBreakPoints(Handle<Object> break_point); 564 Handle<Object> CheckBreakPoints(Handle<Object> break_point);
565 bool CheckBreakPoint(Handle<Object> break_point_object); 565 bool CheckBreakPoint(Handle<Object> break_point_object);
566 566
567 inline void AssertDebugContext() { 567 inline void AssertDebugContext() {
568 DCHECK(isolate_->context() == *debug_context()); 568 DCHECK(isolate_->context() == *debug_context());
569 DCHECK(in_debug_scope()); 569 DCHECK(in_debug_scope());
570 } 570 }
571 571
572 void ThreadInit(); 572 void ThreadInit();
573 573
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
746 // several frames above. 746 // several frames above.
747 // There is no calling conventions here, because it never actually gets 747 // There is no calling conventions here, because it never actually gets
748 // called, it only gets returned to. 748 // called, it only gets returned to.
749 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); 749 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm);
750 }; 750 };
751 751
752 752
753 } } // namespace v8::internal 753 } } // namespace v8::internal
754 754
755 #endif // V8_DEBUG_H_ 755 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « src/compiler.cc ('k') | src/debug.cc » ('j') | src/global-handles.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698