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

Unified Diff: src/debug/debug-frames.h

Issue 2096863003: [wasm] prototype for breakpoint support. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@extend-script-functionality
Patch Set: Created 4 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/debug/debug.cc ('k') | src/debug/debug-frames.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/debug/debug-frames.h
diff --git a/src/debug/debug-frames.h b/src/debug/debug-frames.h
index e8698e70ae357f762f69dc64060dbd7cd8f3cc4f..91244a371be692b338113e2a14adb9e6f2edb5c5 100644
--- a/src/debug/debug-frames.h
+++ b/src/debug/debug-frames.h
@@ -15,13 +15,13 @@ namespace internal {
class FrameInspector {
public:
- FrameInspector(StandardFrame* frame, int inlined_jsframe_index,
+ FrameInspector(StandardFrame* frame, int inlined_frame_index,
Isolate* isolate);
- ~FrameInspector();
-
int GetParametersCount();
+ bool HasFunction();
Handle<JSFunction> GetFunction();
+ Handle<String> GetFunctionName();
Handle<Script> GetScript();
Handle<Object> GetParameter(int index);
Handle<Object> GetExpression(int index);
@@ -52,9 +52,9 @@ class FrameInspector {
Handle<String> parameter_name);
StandardFrame* frame_;
- DeoptimizedFrameInfo* deoptimized_frame_;
+ std::unique_ptr<DeoptimizedFrameInfo> deoptimized_frame_;
+ std::unique_ptr<wasm::InterpreterFrameInfo> wasm_interpreted_frame_;
Isolate* isolate_;
- bool is_optimized_;
bool is_interpreted_;
bool is_bottommost_;
bool has_adapted_arguments_;
« 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