5 #ifndef V8_DEBUG_DEBUG_FRAMES_H_ 6 #define V8_DEBUG_DEBUG_FRAMES_H_ 8 #include "src/deoptimizer.h" 9 #include "src/frames.h" 10 #include "src/isolate.h" 11 #include "src/objects.h" 12 #include "src/wasm/wasm-interpreter.h" 24 int GetParametersCount();
29 int GetSourcePosition() {
return source_position_; }
30 bool IsConstructor() {
return is_constructor_; }
40 return frame_->is_arguments_adaptor() ? ArgumentsAdaptorFrame::cast(frame_)
41 : JavaScriptFrame::cast(frame_);
44 int inlined_frame_index()
const {
return inlined_frame_index_; }
51 int inlined_frame_index_;
52 std::unique_ptr<DeoptimizedFrameInfo> deoptimized_frame_;
53 wasm::WasmInterpreter::FramePtr wasm_interpreted_frame_;
59 int source_position_ = -1;
60 bool is_optimized_ =
false;
61 bool is_interpreted_ =
false;
62 bool has_adapted_arguments_ =
false;
63 bool is_constructor_ =
false;
70 #endif // V8_DEBUG_DEBUG_FRAMES_H_