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

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

Issue 1703453002: [interpreter, debugger] support debug breaks via bytecode array copy (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: rebase Created 4 years, 10 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/debug/debug.cc ('k') | src/debug/debug-frames.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 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_FRAMES_H_ 5 #ifndef V8_DEBUG_DEBUG_FRAMES_H_
6 #define V8_DEBUG_DEBUG_FRAMES_H_ 6 #define V8_DEBUG_DEBUG_FRAMES_H_
7 7
8 #include "src/deoptimizer.h" 8 #include "src/deoptimizer.h"
9 #include "src/frames.h" 9 #include "src/frames.h"
10 #include "src/isolate.h" 10 #include "src/isolate.h"
(...skipping 30 matching lines...) Expand all
41 Handle<ScopeInfo> scope_info); 41 Handle<ScopeInfo> scope_info);
42 42
43 private: 43 private:
44 bool ParameterIsShadowedByContextLocal(Handle<ScopeInfo> info, 44 bool ParameterIsShadowedByContextLocal(Handle<ScopeInfo> info,
45 Handle<String> parameter_name); 45 Handle<String> parameter_name);
46 46
47 JavaScriptFrame* frame_; 47 JavaScriptFrame* frame_;
48 DeoptimizedFrameInfo* deoptimized_frame_; 48 DeoptimizedFrameInfo* deoptimized_frame_;
49 Isolate* isolate_; 49 Isolate* isolate_;
50 bool is_optimized_; 50 bool is_optimized_;
51 bool is_interpreted_;
51 bool is_bottommost_; 52 bool is_bottommost_;
52 bool has_adapted_arguments_; 53 bool has_adapted_arguments_;
53 54
54 DISALLOW_COPY_AND_ASSIGN(FrameInspector); 55 DISALLOW_COPY_AND_ASSIGN(FrameInspector);
55 }; 56 };
56 57
57 58
58 class DebugFrameHelper : public AllStatic { 59 class DebugFrameHelper : public AllStatic {
59 public: 60 public:
60 static SaveContext* FindSavedContextForFrame(Isolate* isolate, 61 static SaveContext* FindSavedContextForFrame(Isolate* isolate,
(...skipping 10 matching lines...) Expand all
71 72
72 static StackFrame::Id UnwrapFrameId(int wrapped) { 73 static StackFrame::Id UnwrapFrameId(int wrapped) {
73 return static_cast<StackFrame::Id>(wrapped << 2); 74 return static_cast<StackFrame::Id>(wrapped << 2);
74 } 75 }
75 }; 76 };
76 77
77 } // namespace internal 78 } // namespace internal
78 } // namespace v8 79 } // namespace v8
79 80
80 #endif // V8_DEBUG_DEBUG_FRAMES_H_ 81 #endif // V8_DEBUG_DEBUG_FRAMES_H_
OLDNEW
« no previous file with comments | « src/debug/debug.cc ('k') | src/debug/debug-frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698