Skip to content

Commit

Permalink
make inlined function bailout pre-op.
Browse files Browse the repository at this point in the history
  • Loading branch information
sigatrev committed Aug 24, 2018
1 parent a21da6b commit 3834a9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Backend/Inline.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4447,6 +4447,7 @@ Inline::PrepareInsertionPoint(IR::Instr *callInstr, const FunctionJITTimeInfo *f

// FunctionBody check is the primary bailout instruction, create it first
IR::BailOutInstr* primaryBailOutInstr = IR::BailOutInstr::New(Js::OpCode::BailOnNotEqual, bailOutKind, insertBeforeInstr, callInstr->m_func);
primaryBailOutInstr->SetByteCodeOffset(insertBeforeInstr);

// 1. Bailout if function object is not an object.
IR::Instr *bailOutIfNotObject = IR::BailOutInstr::New(Js::OpCode::BailOnNotObject,
Expand Down

0 comments on commit 3834a9d

Please sign in to comment.