| Index: src/frames.cc
|
| diff --git a/src/frames.cc b/src/frames.cc
|
| index 362ae89399e977b646f3b4ab0fd33182c63a1670..67a03081e5045a826e08f55454ee9620d2c0b269 100644
|
| --- a/src/frames.cc
|
| +++ b/src/frames.cc
|
| @@ -743,7 +743,10 @@ void StandardFrame::IterateCompiledFrame(ObjectVisitor* v) const {
|
| safepoint_bits += kNumSafepointRegisters >> kBitsPerByteLog2;
|
|
|
| // Visit the rest of the parameters.
|
| - v->VisitPointers(parameters_base, parameters_limit);
|
| + if (!is_js_to_wasm() && !is_wasm()) {
|
| + // Non-WASM frames have tagged values as parameters.
|
| + v->VisitPointers(parameters_base, parameters_limit);
|
| + }
|
|
|
| // Visit pointer spill slots and locals.
|
| for (unsigned index = 0; index < stack_slots; index++) {
|
|
|