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

Unified Diff: src/frames.cc

Issue 1839843002: wasm: implemente WasmFrame::cast, fix inheritance (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix inheritance Created 4 years, 9 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/frames.h ('k') | src/frames-inl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/frames.cc
diff --git a/src/frames.cc b/src/frames.cc
index cfacbac45922f547258b75a11f179828aa4b96f3..5a1c33419fac901ce8d3a5424be68f6ef99a0e7e 100644
--- a/src/frames.cc
+++ b/src/frames.cc
@@ -766,7 +766,7 @@ void StandardFrame::IterateCompiledFrame(ObjectVisitor* v) const {
// Visit the return address in the callee and incoming arguments.
IteratePc(v, pc_address(), constant_pool_address(), code);
- if (!is_wasm() && !is_wasm_to_js()) {
+ if (!is_wasm() || is_wasm_to_js()) {
bradnelson 2016/03/29 17:06:57 don't do that...
JF 2016/03/29 17:08:17 Thought I'd backed that off.
// Visit the context in stub frame and JavaScript frame.
// Visit the function in JavaScript frame.
v->VisitPointers(frame_header_base, frame_header_limit);
« no previous file with comments | « src/frames.h ('k') | src/frames-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698