Index: src/deoptimizer.h |
diff --git a/src/deoptimizer.h b/src/deoptimizer.h |
index 199575496780a8b24e67bb2bccf93c29631e9bf5..f67f986ba1b13467517265619a1f512801904f64 100644 |
--- a/src/deoptimizer.h |
+++ b/src/deoptimizer.h |
@@ -166,6 +166,10 @@ class Deoptimizer : public Malloced { |
// execution returns. |
static void DeoptimizeFunction(JSFunction* function); |
+ // Iterate over all the functions which share the same code object |
+ // and make them use unoptimized version. |
+ static void ReplaceCodeForRelatedFunctions(JSFunction* function, Code* code); |
+ |
// Deoptimize all functions in the heap. |
static void DeoptimizeAll(); |