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); |