Index: src/objects.h |
diff --git a/src/objects.h b/src/objects.h |
index f2b5665c16c1c73b9016e627fdb39e2f06223724..2510be829320eca77a1aeb35d0d1a3bd54b2212a 100644 |
--- a/src/objects.h |
+++ b/src/objects.h |
@@ -4523,6 +4523,9 @@ class JSFunction: public JSObject { |
// Tells whether or not this function has been optimized. |
inline bool IsOptimized(); |
+ // Tells whether or not this function can be optimized. |
+ inline bool IsOptimizable(); |
+ |
// Mark this function for lazy recompilation. The function will be |
// recompiled the next time it is executed. |
void MarkForLazyRecompilation(); |