Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index 9e3c0372ce2e34c091dcda0510015f217c09b823..e1a590b85c5483bfd5912c84dcda061c99e75c9b 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -7378,6 +7378,8 @@ class SharedFunctionInfo: public HeapObject { |
// a Code object or a BytecodeArray. |
inline AbstractCode* abstract_code(); |
+ inline bool IsInterpreted() const; |
Michael Starzinger
2016/11/09 12:07:23
nit: Please add a similar comment (like in JSFunct
rmcilroy
2016/11/09 16:50:10
Good point, added a comment as-such to both functi
|
+ |
inline void ReplaceCode(Code* code); |
inline bool HasBaselineCode() const; |
@@ -8324,6 +8326,9 @@ class JSFunction: public JSObject { |
// Tells whether this function inlines the given shared function info. |
bool Inlines(SharedFunctionInfo* candidate); |
+ // Tells whether or not this function is interpreted. |
+ inline bool IsInterpreted(); |
+ |
// Tells whether or not this function has been optimized. |
inline bool IsOptimized(); |