Index: src/compiler/code-assembler.cc |
diff --git a/src/compiler/code-assembler.cc b/src/compiler/code-assembler.cc |
index 59220962c78a78bb09bd51271bfc2e6f171c71bc..3b937d6fd30fdd7a6f575aef7074a782e5a9c9da 100644 |
--- a/src/compiler/code-assembler.cc |
+++ b/src/compiler/code-assembler.cc |
@@ -72,6 +72,10 @@ CodeAssemblerState::CodeAssemblerState(Isolate* isolate, Zone* zone, |
CodeAssemblerState::~CodeAssemblerState() {} |
+int CodeAssemblerState::parameter_count() const { |
+ return static_cast<int>(raw_assembler_->call_descriptor()->ParameterCount()); |
+} |
+ |
CodeAssembler::~CodeAssembler() {} |
class BreakOnNodeDecorator final : public GraphDecorator { |