Commit e65aa3dc authored by zhengxing.li's avatar zhengxing.li Committed by Commit bot

X87: [turbofan] Add initial support for SOFT deopts.

  port 7a22fdff(r32690)

  original commit message:
  This only introduces the basic support for both SOFT and EAGER deopts in
  TurboFan, but doesn't make use of SOFT deopts anywhere yet (there are
  some other issues blocking that). Basically every Deoptimize operator
  now has a DeoptimizeKind, which can be either kSoft or kEager.

BUG=

Review URL: https://codereview.chromium.org/1508323002

Cr-Commit-Position: refs/heads/master@{#32694}
parent 2b63d6b0
......@@ -505,7 +505,9 @@ void CodeGenerator::AssembleArchInstruction(Instruction* instr) {
__ fild_s(MemOperand(esp, 0));
__ lea(esp, Operand(esp, kPointerSize));
AssembleDeoptimizerCall(deopt_state_id, Deoptimizer::EAGER);
Deoptimizer::BailoutType bailout_type =
Deoptimizer::BailoutType(MiscField::decode(instr->opcode()));
AssembleDeoptimizerCall(deopt_state_id, bailout_type);
break;
}
case kArchRet:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment