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

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

Issue 2623773004: [wasm] Introduce WasmToInterpreterFrame (Closed)
Patch Set: Renaming Created 3 years, 11 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 | « src/compiler/x64/code-generator-x64.cc ('k') | src/frames.h » ('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"
(...skipping 15 matching lines...) Expand all
26 Handle<Object> GetParameter(int index); 26 Handle<Object> GetParameter(int index);
27 Handle<Object> GetExpression(int index); 27 Handle<Object> GetExpression(int index);
28 int GetSourcePosition(); 28 int GetSourcePosition();
29 bool IsConstructor(); 29 bool IsConstructor();
30 Handle<Object> GetContext(); 30 Handle<Object> GetContext();
31 31
32 inline JavaScriptFrame* javascript_frame() { 32 inline JavaScriptFrame* javascript_frame() {
33 return frame_->is_arguments_adaptor() ? ArgumentsAdaptorFrame::cast(frame_) 33 return frame_->is_arguments_adaptor() ? ArgumentsAdaptorFrame::cast(frame_)
34 : JavaScriptFrame::cast(frame_); 34 : JavaScriptFrame::cast(frame_);
35 } 35 }
36 inline WasmFrame* wasm_frame() { return WasmFrame::cast(frame_); } 36 inline WasmCompiledFrame* wasm_frame() {
37 return WasmCompiledFrame::cast(frame_);
38 }
37 39
38 JavaScriptFrame* GetArgumentsFrame() { return javascript_frame(); } 40 JavaScriptFrame* GetArgumentsFrame() { return javascript_frame(); }
39 void SetArgumentsFrame(StandardFrame* frame); 41 void SetArgumentsFrame(StandardFrame* frame);
40 42
41 void MaterializeStackLocals(Handle<JSObject> target, 43 void MaterializeStackLocals(Handle<JSObject> target,
42 Handle<ScopeInfo> scope_info); 44 Handle<ScopeInfo> scope_info);
43 45
44 void MaterializeStackLocals(Handle<JSObject> target, 46 void MaterializeStackLocals(Handle<JSObject> target,
45 Handle<JSFunction> function); 47 Handle<JSFunction> function);
46 48
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 81
80 static StackFrame::Id UnwrapFrameId(int wrapped) { 82 static StackFrame::Id UnwrapFrameId(int wrapped) {
81 return static_cast<StackFrame::Id>(wrapped << 2); 83 return static_cast<StackFrame::Id>(wrapped << 2);
82 } 84 }
83 }; 85 };
84 86
85 } // namespace internal 87 } // namespace internal
86 } // namespace v8 88 } // namespace v8
87 89
88 #endif // V8_DEBUG_DEBUG_FRAMES_H_ 90 #endif // V8_DEBUG_DEBUG_FRAMES_H_
OLDNEW
« no previous file with comments | « src/compiler/x64/code-generator-x64.cc ('k') | src/frames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698