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

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

Issue 1858773004: Revert of Correctly annotate eval origin. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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
« no previous file with comments | « src/compiler/ast-graph-builder.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 481 matching lines...) Expand 10 before | Expand all | Expand 10 after
492 // Support for LiveEdit 492 // Support for LiveEdit
493 void FramesHaveBeenDropped(StackFrame::Id new_break_frame_id, 493 void FramesHaveBeenDropped(StackFrame::Id new_break_frame_id,
494 LiveEdit::FrameDropMode mode); 494 LiveEdit::FrameDropMode mode);
495 495
496 // Threading support. 496 // Threading support.
497 char* ArchiveDebug(char* to); 497 char* ArchiveDebug(char* to);
498 char* RestoreDebug(char* from); 498 char* RestoreDebug(char* from);
499 static int ArchiveSpacePerThread(); 499 static int ArchiveSpacePerThread();
500 void FreeThreadResources() { } 500 void FreeThreadResources() { }
501 501
502 // Record function from which eval was called.
503 static void RecordEvalCaller(Handle<Script> script);
504
502 bool CheckExecutionState(int id) { 505 bool CheckExecutionState(int id) {
503 return is_active() && !debug_context().is_null() && break_id() != 0 && 506 return is_active() && !debug_context().is_null() && break_id() != 0 &&
504 break_id() == id; 507 break_id() == id;
505 } 508 }
506 509
507 // Flags and states. 510 // Flags and states.
508 DebugScope* debugger_entry() { 511 DebugScope* debugger_entry() {
509 return reinterpret_cast<DebugScope*>( 512 return reinterpret_cast<DebugScope*>(
510 base::NoBarrier_Load(&thread_local_.current_debug_scope_)); 513 base::NoBarrier_Load(&thread_local_.current_debug_scope_));
511 } 514 }
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
800 Handle<Code> code); 803 Handle<Code> code);
801 static bool DebugBreakSlotIsPatched(Address pc); 804 static bool DebugBreakSlotIsPatched(Address pc);
802 static void ClearDebugBreakSlot(Isolate* isolate, Address pc); 805 static void ClearDebugBreakSlot(Isolate* isolate, Address pc);
803 }; 806 };
804 807
805 808
806 } // namespace internal 809 } // namespace internal
807 } // namespace v8 810 } // namespace v8
808 811
809 #endif // V8_DEBUG_DEBUG_H_ 812 #endif // V8_DEBUG_DEBUG_H_
OLDNEW
« no previous file with comments | « src/compiler/ast-graph-builder.cc ('k') | src/debug/debug.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698