This repository has been archived by the owner on Oct 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 340
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chakrashim: fix Object::SetInternalField …
When use SetInternalField with Interger will assert: // assert this object->SetInternalField(0, v8::Integer::New(env->isolate(), 6)); object->GetInternalField(0)->IsInt32(); Becasue ObjectData::FieldValue will change ref pointer with a mask , and then will not revert to a normal int value. Soloution: Add a bool flag to ObjectData::FieldValue to demined a FieldValue is JsValueRef or not.
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters