Index: src/macro-assembler.h |
diff --git a/src/macro-assembler.h b/src/macro-assembler.h |
index a6e0f2a2b86aaf48b4a317adba0b5cdfb90b228b..783713fd26b89d754d292b8222d2a319d4a31505 100644 |
--- a/src/macro-assembler.h |
+++ b/src/macro-assembler.h |
@@ -65,6 +65,9 @@ enum AllocationFlags { |
namespace v8 { |
namespace internal { |
+// Simulators only support C calls with up to kMaxCParameters parameters. |
+static constexpr int kMaxCParameters = 9; |
+ |
class FrameScope { |
public: |
explicit FrameScope(MacroAssembler* masm, StackFrame::Type type) |