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

Side by Side Diff: src/debug.h

Issue 725983002: Classes: Add support for stepping through default constructors (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Refactor to share code 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
« 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 "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 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
383 int* source_position); 383 int* source_position);
384 bool SetBreakPointForScript(Handle<Script> script, 384 bool SetBreakPointForScript(Handle<Script> script,
385 Handle<Object> break_point_object, 385 Handle<Object> break_point_object,
386 int* source_position, 386 int* source_position,
387 BreakPositionAlignment alignment); 387 BreakPositionAlignment alignment);
388 void ClearBreakPoint(Handle<Object> break_point_object); 388 void ClearBreakPoint(Handle<Object> break_point_object);
389 void ClearAllBreakPoints(); 389 void ClearAllBreakPoints();
390 void FloodWithOneShot(Handle<JSFunction> function, 390 void FloodWithOneShot(Handle<JSFunction> function,
391 BreakLocatorType type = ALL_BREAK_LOCATIONS); 391 BreakLocatorType type = ALL_BREAK_LOCATIONS);
392 void FloodBoundFunctionWithOneShot(Handle<JSFunction> function); 392 void FloodBoundFunctionWithOneShot(Handle<JSFunction> function);
393 void FloodDefaultConstructorWithOneShot(Handle<JSFunction> function);
394 void FloodWithOneShotGeneric(Handle<JSFunction> function,
395 Handle<Object> holder = Handle<Object>());
393 void FloodHandlerWithOneShot(); 396 void FloodHandlerWithOneShot();
394 void ChangeBreakOnException(ExceptionBreakType type, bool enable); 397 void ChangeBreakOnException(ExceptionBreakType type, bool enable);
395 bool IsBreakOnException(ExceptionBreakType type); 398 bool IsBreakOnException(ExceptionBreakType type);
396 399
397 // Stepping handling. 400 // Stepping handling.
398 void PrepareStep(StepAction step_action, 401 void PrepareStep(StepAction step_action,
399 int step_count, 402 int step_count,
400 StackFrame::Id frame_id); 403 StackFrame::Id frame_id);
401 void ClearStepping(); 404 void ClearStepping();
402 void ClearStepOut(); 405 void ClearStepOut();
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 // several frames above. 750 // several frames above.
748 // There is no calling conventions here, because it never actually gets 751 // There is no calling conventions here, because it never actually gets
749 // called, it only gets returned to. 752 // called, it only gets returned to.
750 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm); 753 static void GenerateFrameDropperLiveEdit(MacroAssembler* masm);
751 }; 754 };
752 755
753 756
754 } } // namespace v8::internal 757 } } // namespace v8::internal
755 758
756 #endif // V8_DEBUG_H_ 759 #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