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

Unified Diff: src/builtins/builtins.h

Issue 2259883002: [turbofan] Inline calls to CPP builtins (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@builtin-descriptors
Patch Set: Address comments Created 4 years, 4 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
« no previous file with comments | « no previous file | src/builtins/builtins.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/builtins/builtins.h
diff --git a/src/builtins/builtins.h b/src/builtins/builtins.h
index 10d6f21705b3c99e1f8e039d0cd5722d08192449..b71b25ac3eb03b7431cdb20e593b8ff26019ca19 100644
--- a/src/builtins/builtins.h
+++ b/src/builtins/builtins.h
@@ -600,7 +600,15 @@ class Builtins {
return reinterpret_cast<Address>(&builtins_[name]);
}
- const char* name(int index);
+ static const char* name(int index);
+
+ // Returns the C++ entry point for builtins implemented in C++, and the null
+ // Address otherwise.
+ static Address CppEntryOf(int index);
+
+ static bool IsCpp(int index);
+ static bool IsApi(int index);
+ static bool HasCppImplementation(int index);
bool is_initialized() const { return initialized_; }
« no previous file with comments | « no previous file | src/builtins/builtins.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698