Skip to content

Commit

Permalink
Forgot to change a variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
wyrichte committed Sep 11, 2018
1 parent f7cf5d1 commit 2e1392b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/Runtime/ByteCode/ByteCodeWriter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1424,7 +1424,7 @@ namespace Js
}
#endif

if (this->m_functionWrite->GetIsStrictMode() || forceStrictModeForClassComputedPropertyName)
if (this->m_functionWrite->GetIsStrictMode() || forceStrictMode)
{
if (op == OpCode::ScopedDeleteFld)
{
Expand Down
6 changes: 3 additions & 3 deletions lib/Runtime/ByteCode/ByteCodeWriter.h
Original file line number Diff line number Diff line change
Expand Up @@ -269,10 +269,10 @@ namespace Js
void CallI(OpCode op, RegSlot returnValueRegister, RegSlot functionRegister, ArgSlot givenArgCount, ProfileId callSiteId, CallFlags callFlags = CallFlags_None);
void CallIExtended(OpCode op, RegSlot returnValueRegister, RegSlot functionRegister, ArgSlot givenArgCount, CallIExtendedOptions options, const void *buffer, uint byteCount, ProfileId callSiteId, CallFlags callFlags = CallFlags_None);
void RemoveEntryForRegSlotFromCacheIdMap(RegSlot functionRegister);
void Element(OpCode op, RegSlot value, RegSlot instance, RegSlot element, bool instanceAtReturnRegOK = false, bool forceStrictModeForClassComputedPropertyName = false);
void Element(OpCode op, RegSlot value, RegSlot instance, RegSlot element, bool instanceAtReturnRegOK = false, bool forceStrictMode = false);
void ElementUnsigned1(OpCode op, RegSlot value, RegSlot instance, uint32 element);
void Property(OpCode op, RegSlot Value, RegSlot Instance, PropertyIdIndexType propertyIdIndex, bool forceStrictModeForClassComputedPropertyName = false);
void ScopedProperty(OpCode op, RegSlot Value, PropertyIdIndexType propertyIdIndex, bool forceStrictModeForClassComputedPropertyName = false);
void Property(OpCode op, RegSlot Value, RegSlot Instance, PropertyIdIndexType propertyIdIndex, bool forceStrictMode = false);
void ScopedProperty(OpCode op, RegSlot Value, PropertyIdIndexType propertyIdIndex, bool forceStrictMode = false);
void Slot(OpCode op, RegSlot value, RegSlot instance, uint32 slotId);
void Slot(OpCode op, RegSlot value, RegSlot instance, uint32 slotId, ProfileId profileId);
void SlotI1(OpCode op, RegSlot value, uint32 slotId1);
Expand Down

0 comments on commit 2e1392b

Please sign in to comment.