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

Commit

Permalink
Ported fixes from ChakraCore to fix TTD issues
Browse files Browse the repository at this point in the history
resulting from the latest node master merge.
  • Loading branch information
kfarnung authored and Ian Halliday committed Jan 13, 2017
1 parent 2096aa2 commit 8e66382
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,8 @@ namespace TTD
this->EnqueueRootPathObject(_u("_stackTraceAccessor"), ctx->GetLibrary()->GetStackTraceAccessorFunction());
this->EnqueueRootPathObject(_u("_throwTypeErrorRestrictedPropertyAccessor"), ctx->GetLibrary()->GetThrowTypeErrorRestrictedPropertyAccessorFunction());

this->EnqueueRootPathObject(_u("_arrayIteratorPrototype"), ctx->GetLibrary()->GetArrayIteratorPrototype());

uint32 counter = 0;
while(!this->m_worklist.Empty())
{
Expand Down
2 changes: 1 addition & 1 deletion deps/chakrashim/core/lib/Runtime/Debug/TTSnapValues.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ namespace TTD
compareMap.DiagnosticAssert((!!v1->u_boolValue) == (!!v2->u_boolValue));
break;
case Js::TypeIds_Number:
compareMap.DiagnosticAssert(v1->u_doubleValue == v2->u_doubleValue); //This may be problematic wrt. precise FP values
compareMap.DiagnosticAssert(CheckSnapEquivTTDDouble(v1->u_doubleValue, v2->u_doubleValue));
break;
case Js::TypeIds_Int64Number:
compareMap.DiagnosticAssert(v1->u_int64Value == v2->u_int64Value);
Expand Down

0 comments on commit 8e66382

Please sign in to comment.