Index: src/messages.h |
diff --git a/src/messages.h b/src/messages.h |
index d4c0001e8bff3607d81791a91c497be3664594f0..df714e73fbfbafdcacff3ec79bed6e74d1f2ccf4 100644 |
--- a/src/messages.h |
+++ b/src/messages.h |
@@ -62,6 +62,8 @@ class CallSite { |
bool IsJavaScript() { return !fun_.is_null(); } |
bool IsWasm() { return !wasm_obj_.is_null(); } |
+ int wasm_func_index() const { return wasm_func_index_; } |
+ |
private: |
Isolate* isolate_; |
Handle<Object> receiver_; |