| 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..060cbe8211edafcb52d320c336f0f5353a0e33b2 100644
|
| --- a/src/x64/lithium-codegen-x64.h
|
| +++ b/src/x64/lithium-codegen-x64.h
|
| @@ -193,7 +193,10 @@ class LCodeGen: public LCodeGenBase {
|
|
|
| void CallRuntimeFromDeferred(Runtime::FunctionId id,
|
| int argc,
|
| - LInstruction* instr);
|
| + LInstruction* instr,
|
| + LOperand* context);
|
| +
|
| + void LoadContextFromDeferred(LOperand* context);
|
|
|
| enum RDIState {
|
| RDI_UNINITIALIZED,
|
| @@ -220,6 +223,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,
|
|
|