Index: src/compiler/instruction-selector-impl.h |
diff --git a/src/compiler/instruction-selector-impl.h b/src/compiler/instruction-selector-impl.h |
index e22f5458697b852f59300dc5e4011298673da45e..9710bfb93f5ec9d048a781c923f14facdd1b1bfc 100644 |
--- a/src/compiler/instruction-selector-impl.h |
+++ b/src/compiler/instruction-selector-impl.h |
@@ -376,6 +376,10 @@ struct CallBuffer { |
: (frame_state_descriptor->GetTotalSize() + |
1); // Include deopt id. |
} |
+ |
+ size_t non_argument_input_count() const { |
+ return descriptor->HasVarArgs() ? descriptor->VarArgsInputCount() : 0; |
+ } |
}; |
} // namespace compiler |