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

Side by Side Diff: src/frames.h

Issue 1865553004: [wasm] Do also output WASM frames on detailed stack traces (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@improve-asserts
Patch Set: Fix gcmole reported issue 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 | « no previous file | src/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 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_FRAMES_H_ 5 #ifndef V8_FRAMES_H_
6 #define V8_FRAMES_H_ 6 #define V8_FRAMES_H_
7 7
8 #include "src/allocation.h" 8 #include "src/allocation.h"
9 #include "src/handles.h" 9 #include "src/handles.h"
10 #include "src/safepoint-table.h" 10 #include "src/safepoint-table.h"
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after
969 // Determine the code for the frame. 969 // Determine the code for the frame.
970 Code* unchecked_code() const override; 970 Code* unchecked_code() const override;
971 971
972 static WasmFrame* cast(StackFrame* frame) { 972 static WasmFrame* cast(StackFrame* frame) {
973 DCHECK(frame->is_wasm()); 973 DCHECK(frame->is_wasm());
974 return static_cast<WasmFrame*>(frame); 974 return static_cast<WasmFrame*>(frame);
975 } 975 }
976 976
977 JSFunction* function() const override; 977 JSFunction* function() const override;
978 978
979 void Summarize(List<FrameSummary>* frames) const override;
980
979 protected: 981 protected:
980 inline explicit WasmFrame(StackFrameIteratorBase* iterator); 982 inline explicit WasmFrame(StackFrameIteratorBase* iterator);
981 983
982 Address GetCallerStackPointer() const override; 984 Address GetCallerStackPointer() const override;
983 985
984 private: 986 private:
985 friend class StackFrameIteratorBase; 987 friend class StackFrameIteratorBase;
986 }; 988 };
987 989
988 class WasmToJsFrame : public StubFrame { 990 class WasmToJsFrame : public StubFrame {
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
1218 1220
1219 1221
1220 // Reads all frames on the current stack and copies them into the current 1222 // Reads all frames on the current stack and copies them into the current
1221 // zone memory. 1223 // zone memory.
1222 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone); 1224 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone);
1223 1225
1224 } // namespace internal 1226 } // namespace internal
1225 } // namespace v8 1227 } // namespace v8
1226 1228
1227 #endif // V8_FRAMES_H_ 1229 #endif // V8_FRAMES_H_
OLDNEW
« no previous file with comments | « no previous file | src/frames.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698