Skip to content
This repository has been archived by the owner on Oct 15, 2020. It is now read-only.

Commit

Permalink
deps: update ChakraCore to chakra-core/ChakraCore@95875b5946
Browse files Browse the repository at this point in the history
[MERGE #4685 @MSLaguana] Fixing missing serialization for new.target property in TTD

Merge pull request #4685 from MSLaguana:fixNewTargetTTD

Reviewed-By: chakrabot <[email protected]>
  • Loading branch information
MSLaguana authored and chakrabot committed Feb 15, 2018
1 parent 19608c0 commit 9b3436d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions deps/chakrashim/core/lib/Runtime/Debug/TTEvents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,6 +510,9 @@ namespace TTD
}
writer->WriteSequenceEnd();

writer->WriteKey(NSTokens::Key::newTargetVal, NSTokens::Separator::CommaSeparator);
NSSnapValues::EmitTTDVar(callEvt->NewTarget, writer, NSTokens::Separator::NoSeparator);

writer->WriteKey(NSTokens::Key::argRetVal, NSTokens::Separator::CommaSeparator);
NSSnapValues::EmitTTDVar(callEvt->ReturnValue, writer, NSTokens::Separator::NoSeparator);

Expand Down Expand Up @@ -538,6 +541,9 @@ namespace TTD
}
reader->ReadSequenceEnd();

reader->ReadKey(NSTokens::Key::newTargetVal, true);
callEvt->NewTarget = NSSnapValues::ParseTTDVar(false, reader);

reader->ReadKey(NSTokens::Key::argRetVal, true);
callEvt->ReturnValue = NSSnapValues::ParseTTDVar(false, reader);

Expand Down
1 change: 1 addition & 0 deletions deps/chakrashim/core/lib/Runtime/Debug/TTSerializeEnum.h
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ ENTRY_SERIALIZE_ENUM(doubleVal)
ENTRY_SERIALIZE_ENUM(ptrIdVal)
ENTRY_SERIALIZE_ENUM(stringVal)
ENTRY_SERIALIZE_ENUM(argRetVal)
ENTRY_SERIALIZE_ENUM(newTargetVal)
ENTRY_SERIALIZE_ENUM(ttdVarTag)
ENTRY_SERIALIZE_ENUM(getterEntry)
ENTRY_SERIALIZE_ENUM(setterEntry)
Expand Down

0 comments on commit 9b3436d

Please sign in to comment.