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

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: Don't assign undefined to Handle<Script> 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') | src/isolate.cc » ('J')
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 954 matching lines...) Expand 10 before | Expand all | Expand 10 after
965 // Determine the code for the frame. 965 // Determine the code for the frame.
966 Code* unchecked_code() const override; 966 Code* unchecked_code() const override;
967 967
968 static WasmFrame* cast(StackFrame* frame) { 968 static WasmFrame* cast(StackFrame* frame) {
969 DCHECK(frame->is_wasm()); 969 DCHECK(frame->is_wasm());
970 return static_cast<WasmFrame*>(frame); 970 return static_cast<WasmFrame*>(frame);
971 } 971 }
972 972
973 JSFunction* function() const override; 973 JSFunction* function() const override;
974 974
975 void Summarize(List<FrameSummary>* frames) const override;
976
975 protected: 977 protected:
976 inline explicit WasmFrame(StackFrameIteratorBase* iterator); 978 inline explicit WasmFrame(StackFrameIteratorBase* iterator);
977 979
978 Address GetCallerStackPointer() const override; 980 Address GetCallerStackPointer() const override;
979 981
980 private: 982 private:
981 friend class StackFrameIteratorBase; 983 friend class StackFrameIteratorBase;
982 }; 984 };
983 985
984 class WasmToJsFrame : public StubFrame { 986 class WasmToJsFrame : public StubFrame {
(...skipping 229 matching lines...) Expand 10 before | Expand all | Expand 10 after
1214 1216
1215 1217
1216 // Reads all frames on the current stack and copies them into the current 1218 // Reads all frames on the current stack and copies them into the current
1217 // zone memory. 1219 // zone memory.
1218 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone); 1220 Vector<StackFrame*> CreateStackMap(Isolate* isolate, Zone* zone);
1219 1221
1220 } // namespace internal 1222 } // namespace internal
1221 } // namespace v8 1223 } // namespace v8
1222 1224
1223 #endif // V8_FRAMES_H_ 1225 #endif // V8_FRAMES_H_
OLDNEW
« no previous file with comments | « no previous file | src/frames.cc » ('j') | src/isolate.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698