Index: src/x64/lithium-codegen-x64.h |
diff --git a/src/x64/lithium-codegen-x64.h b/src/x64/lithium-codegen-x64.h |
index 090f961508aab03241fea551afd76a00e122e0f0..c58a37c2cb6d919535b1171b2357deffcdee0d04 100644 |
--- a/src/x64/lithium-codegen-x64.h |
+++ b/src/x64/lithium-codegen-x64.h |
@@ -220,6 +220,10 @@ class LCodeGen: public LCodeGenBase { |
void DeoptimizeIf(Condition cc, LEnvironment* environment); |
void ApplyCheckIf(Condition cc, LBoundsCheck* check); |
+ bool DeoptEveryNTimes() { |
+ return FLAG_deopt_every_n_times != 0 && !info()->IsStub(); |
+ } |
+ |
void AddToTranslation(LEnvironment* environment, |
Translation* translation, |
LOperand* op, |