Index: src/deoptimizer.h |
diff --git a/src/deoptimizer.h b/src/deoptimizer.h |
index ef27646179db0f89f3c31980474594a99db60676..ccd5e489543e342641c104e104d51bad002288a3 100644 |
--- a/src/deoptimizer.h |
+++ b/src/deoptimizer.h |
@@ -136,6 +136,13 @@ class Deoptimizer : public Malloced { |
Isolate* isolate); |
static Deoptimizer* Grab(Isolate* isolate); |
+ // Makes sure that there is enough room in the relocation |
+ // information of a code object to perform lazy deoptimization |
+ // patching. If there is not enough room a new relocation |
+ // information object is allocated and comments are added until it |
+ // is big enough. |
+ static void EnsureRelocSpaceForLazyDeoptimization(Handle<Code> code); |
+ |
// Deoptimize the function now. Its current optimized code will never be run |
// again and any activations of the optimized code will get deoptimized when |
// execution returns. |