Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(699)

Unified Diff: src/messages.h

Issue 2158303002: Begin porting CallSite to C++ (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@remove-overflow-boilerplate
Patch Set: Rebase Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_;
« src/js/messages.js ('K') | « src/js/messages.js ('k') | src/runtime/runtime.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698