|
|
@@ -585,7 +585,7 @@ IRBuilder::Build()
|
|
|
}
|
|
|
else
|
|
|
{
|
|
|
- Js::OpCode op =
|
|
|
+ Js::OpCode op =
|
|
|
m_func->DoStackScopeSlots() ? Js::OpCode::NewStackScopeSlots : Js::OpCode::NewScopeSlots;
|
|
|
|
|
|
IR::Opnd * srcOpnd = IR::IntConstOpnd::New(
|
|
|
@@ -1483,7 +1483,7 @@ IRBuilder::BuildReg1(Js::OpCode newOpcode, uint32 offset, Js::RegSlot R0)
|
|
|
Js::Throw::FatalInternalError();
|
|
|
}
|
|
|
srcOpnd = BuildSrcOpnd(m_func->GetJnFunction()->GetLocalClosureReg());
|
|
|
- isNotInt = true;
|
|
|
+ isNotInt = true;
|
|
|
break;
|
|
|
|
|
|
case Js::OpCode::LdLocalObj:
|
|
|
@@ -1696,7 +1696,7 @@ IRBuilder::BuildReg2(Js::OpCode newOpcode, uint32 offset, Js::RegSlot R0, Js::Re
|
|
|
case Js::OpCode::LdLetHeapArguments:
|
|
|
{
|
|
|
IR::Opnd * opndFrameObj;
|
|
|
- if (m_func->GetJnFunction()->HasScopeObject() &&
|
|
|
+ if (m_func->GetJnFunction()->HasScopeObject() &&
|
|
|
src1Opnd->m_sym->m_instrDef &&
|
|
|
src1Opnd->m_sym->m_instrDef->m_opcode == Js::OpCode::LdPropIds)
|
|
|
{
|
|
|
@@ -1710,7 +1710,7 @@ IRBuilder::BuildReg2(Js::OpCode newOpcode, uint32 offset, Js::RegSlot R0, Js::Re
|
|
|
m_func->GetScriptContext()->GetLibrary()->GetNull(), IR::AddrOpndKindDynamicVar, m_func, true);
|
|
|
}
|
|
|
IR::RegOpnd * dstOpnd = BuildDstOpnd(R0);
|
|
|
- IR::Instr * instr = IR::Instr::New(newOpcode, dstOpnd, opndFrameObj, src1Opnd, m_func);
|
|
|
+ IR::Instr * instr = IR::Instr::New(newOpcode, dstOpnd, opndFrameObj, src1Opnd, m_func);
|
|
|
this->AddInstr(instr, offset);
|
|
|
StackSym * dstSym = dstOpnd->m_sym;
|
|
|
if (dstSym->m_isSingleDef)
|
|
|
@@ -3444,8 +3444,8 @@ IRBuilder::BuildElementSlotI1(Js::OpCode newOpcode, uint32 offset, Js::RegSlot r
|
|
|
instr = IR::Instr::New(newOpcode, regOpnd, fieldOpnd, m_func);
|
|
|
}
|
|
|
this->AddInstr(instr, offset);
|
|
|
- break;
|
|
|
-
|
|
|
+ break;
|
|
|
+
|
|
|
case Js::OpCode::StLocalSlot:
|
|
|
case Js::OpCode::StLocalSlotChkUndecl:
|
|
|
|
|
|
@@ -4569,7 +4569,7 @@ IRBuilder::BuildElementU(Js::OpCode newOpcode, uint32 offset, Js::RegSlot instan
|
|
|
regOpnd = BuildDstOpnd(instance);
|
|
|
instr = IR::Instr::New(newOpcode, regOpnd, fieldSymOpnd, m_func);
|
|
|
break;
|
|
|
-
|
|
|
+
|
|
|
default:
|
|
|
{
|
|
|
fieldSymOpnd = this->BuildFieldOpnd(newOpcode, instance, propertyId, propertyIdIndex, PropertyKindData);
|
|
|
@@ -4662,7 +4662,7 @@ IRBuilder::BuildAuxNoReg(Js::OpCode newOpcode, uint32 offset)
|
|
|
Fatal();
|
|
|
break;
|
|
|
}
|
|
|
- }
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
void
|