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

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

Issue 1522273003: [debugger] remove some dead code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: exclude debugger statement Created 5 years 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"
11 #include "src/objects.h" 11 #include "src/objects.h"
12 12
13 namespace v8 { 13 namespace v8 {
14 namespace internal { 14 namespace internal {
15 15
16 class FrameInspector { 16 class FrameInspector {
17 public: 17 public:
18 FrameInspector(JavaScriptFrame* frame, int inlined_jsframe_index, 18 FrameInspector(JavaScriptFrame* frame, int inlined_jsframe_index,
19 Isolate* isolate); 19 Isolate* isolate);
20 20
21 ~FrameInspector(); 21 ~FrameInspector();
22 22
23 int GetParametersCount(); 23 int GetParametersCount();
24 int expression_count();
25 Object* GetFunction(); 24 Object* GetFunction();
26 Object* GetParameter(int index); 25 Object* GetParameter(int index);
27 Object* GetExpression(int index); 26 Object* GetExpression(int index);
28 int GetSourcePosition(); 27 int GetSourcePosition();
29 bool IsConstructor(); 28 bool IsConstructor();
30 Object* GetContext(); 29 Object* GetContext();
31 30
32 JavaScriptFrame* GetArgumentsFrame() { return frame_; } 31 JavaScriptFrame* GetArgumentsFrame() { return frame_; }
33 void SetArgumentsFrame(JavaScriptFrame* frame); 32 void SetArgumentsFrame(JavaScriptFrame* frame);
34 33
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 71
73 static StackFrame::Id UnwrapFrameId(int wrapped) { 72 static StackFrame::Id UnwrapFrameId(int wrapped) {
74 return static_cast<StackFrame::Id>(wrapped << 2); 73 return static_cast<StackFrame::Id>(wrapped << 2);
75 } 74 }
76 }; 75 };
77 76
78 } // namespace internal 77 } // namespace internal
79 } // namespace v8 78 } // namespace v8
80 79
81 #endif // V8_DEBUG_DEBUG_FRAMES_H_ 80 #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