Index: src/wasm/asm-types.h |
diff --git a/src/wasm/asm-types.h b/src/wasm/asm-types.h |
index a102fc856ff6061c5ada57c6c5dd59cacb666980..b973abfec5de6c19a93c39784c6cede5c70fe8f0 100644 |
--- a/src/wasm/asm-types.h |
+++ b/src/wasm/asm-types.h |
@@ -132,6 +132,9 @@ class AsmFunctionType : public AsmCallableType { |
virtual bool IsMinMaxType() const { return false; } |
virtual bool IsFroundType() const { return false; } |
+ AsmType* ValidateCall(AsmType* return_type, |
+ const ZoneVector<AsmType*>& args) override; |
+ |
protected: |
AsmFunctionType(Zone* zone, AsmType* return_type) |
: return_type_(return_type), args_(zone) {} |
@@ -140,8 +143,6 @@ class AsmFunctionType : public AsmCallableType { |
friend AsmType; |
std::string Name() override; |
- AsmType* ValidateCall(AsmType* return_type, |
- const ZoneVector<AsmType*>& args) override; |
AsmType* return_type_; |
ZoneVector<AsmType*> args_; |
@@ -197,6 +198,7 @@ class AsmFunctionTableType : public AsmCallableType { |
const ZoneVector<AsmType*>& args) override; |
size_t length() const { return length_; } |
+ AsmType* signature() { return signature_; } |
private: |
friend class AsmType; |