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

Side by Side Diff: src/debug.h

Issue 260423002: Relocate suspended generator activations when enabling debug mode (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Require only one heap iteration Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/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_H_ 5 #ifndef V8_DEBUG_H_
6 #define V8_DEBUG_H_ 6 #define V8_DEBUG_H_
7 7
8 #include "allocation.h" 8 #include "allocation.h"
9 #include "arguments.h" 9 #include "arguments.h"
10 #include "assembler.h" 10 #include "assembler.h"
(...skipping 506 matching lines...) Expand 10 before | Expand all | Expand 10 after
517 void ActivateStepIn(StackFrame* frame); 517 void ActivateStepIn(StackFrame* frame);
518 void ClearStepIn(); 518 void ClearStepIn();
519 void ActivateStepOut(StackFrame* frame); 519 void ActivateStepOut(StackFrame* frame);
520 void ClearStepNext(); 520 void ClearStepNext();
521 // Returns whether the compile succeeded. 521 // Returns whether the compile succeeded.
522 void RemoveDebugInfo(Handle<DebugInfo> debug_info); 522 void RemoveDebugInfo(Handle<DebugInfo> debug_info);
523 void SetAfterBreakTarget(JavaScriptFrame* frame); 523 void SetAfterBreakTarget(JavaScriptFrame* frame);
524 Handle<Object> CheckBreakPoints(Handle<Object> break_point); 524 Handle<Object> CheckBreakPoints(Handle<Object> break_point);
525 bool CheckBreakPoint(Handle<Object> break_point_object); 525 bool CheckBreakPoint(Handle<Object> break_point_object);
526 526
527 void MaybeRecompileFunctionForDebugging(Handle<JSFunction> function);
528 void RecompileAndRelocateSuspendedGenerators(
529 const List<Handle<JSGeneratorObject> > &suspended_generators);
530
527 // Global handle to debug context where all the debugger JavaScript code is 531 // Global handle to debug context where all the debugger JavaScript code is
528 // loaded. 532 // loaded.
529 Handle<Context> debug_context_; 533 Handle<Context> debug_context_;
530 534
531 // Boolean state indicating whether any break points are set. 535 // Boolean state indicating whether any break points are set.
532 bool has_break_points_; 536 bool has_break_points_;
533 537
534 // Cache of all scripts in the heap. 538 // Cache of all scripts in the heap.
535 ScriptCache* script_cache_; 539 ScriptCache* script_cache_;
536 540
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
1036 Mutex mutex_; 1040 Mutex mutex_;
1037 bool already_signalled_; 1041 bool already_signalled_;
1038 1042
1039 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread); 1043 DISALLOW_COPY_AND_ASSIGN(MessageDispatchHelperThread);
1040 }; 1044 };
1041 1045
1042 1046
1043 } } // namespace v8::internal 1047 } } // namespace v8::internal
1044 1048
1045 #endif // V8_DEBUG_H_ 1049 #endif // V8_DEBUG_H_
OLDNEW
« no previous file with comments | « no previous file | src/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698