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

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

Issue 1406113007: Merge GlobalObject with JSGlobalObject. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | 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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
434 int position); 434 int position);
435 435
436 // Returns true if the current stub call is patched to call the debugger. 436 // Returns true if the current stub call is patched to call the debugger.
437 static bool IsDebugBreak(Address addr); 437 static bool IsDebugBreak(Address addr);
438 438
439 static Handle<Object> GetSourceBreakLocations( 439 static Handle<Object> GetSourceBreakLocations(
440 Handle<SharedFunctionInfo> shared, 440 Handle<SharedFunctionInfo> shared,
441 BreakPositionAlignment position_aligment); 441 BreakPositionAlignment position_aligment);
442 442
443 // Check whether a global object is the debug global object. 443 // Check whether a global object is the debug global object.
444 bool IsDebugGlobal(GlobalObject* global); 444 bool IsDebugGlobal(JSGlobalObject* global);
445 445
446 // Check whether this frame is just about to return. 446 // Check whether this frame is just about to return.
447 bool IsBreakAtReturn(JavaScriptFrame* frame); 447 bool IsBreakAtReturn(JavaScriptFrame* frame);
448 448
449 // Support for LiveEdit 449 // Support for LiveEdit
450 void FramesHaveBeenDropped(StackFrame::Id new_break_frame_id, 450 void FramesHaveBeenDropped(StackFrame::Id new_break_frame_id,
451 LiveEdit::FrameDropMode mode, 451 LiveEdit::FrameDropMode mode,
452 Object** restarter_frame_function_pointer); 452 Object** restarter_frame_function_pointer);
453 453
454 // Threading support. 454 // Threading support.
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
760 760
761 static void PatchDebugBreakSlot(Address pc, Handle<Code> code); 761 static void PatchDebugBreakSlot(Address pc, Handle<Code> code);
762 static void ClearDebugBreakSlot(Address pc); 762 static void ClearDebugBreakSlot(Address pc);
763 }; 763 };
764 764
765 765
766 } // namespace internal 766 } // namespace internal
767 } // namespace v8 767 } // namespace v8
768 768
769 #endif // V8_DEBUG_DEBUG_H_ 769 #endif // V8_DEBUG_DEBUG_H_
OLDNEW
« no previous file with comments | « src/crankshaft/x87/lithium-codegen-x87.cc ('k') | src/debug/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698