Index: src/messages.h |
diff --git a/src/messages.h b/src/messages.h |
index 4848f29bad5be1c0998b616f3f1bdccfe08603c8..69d56191261001ac5878591f6055d44e66893ec3 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_; |