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_; } |