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@a231b2126f
Browse files Browse the repository at this point in the history
[1.8>1.9] Merged PR 104340: TypedArray: add HasVirtualTableInfo to check CrossSite

TypedArray: add HasVirtualTableInfo to check CrossSite

Reviewed-By: chakrabot <chakrabot@users.noreply.github.com>
  • Loading branch information
obastemur authored and kfarnung committed Feb 1, 2018
1 parent 490e7f8 commit 54f38ce
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions deps/chakrashim/core/lib/Runtime/Library/TypedArray.h
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,10 @@ namespace Js
static BOOL Is(Var aValue);
static TypedArray<TypeName, clamped, virtualAllocated>* FromVar(Var aValue);
static TypedArray<TypeName, clamped, virtualAllocated>* UnsafeFromVar(Var aValue);
static BOOL HasVirtualTableInfo(Var aValue)
{
return VirtualTableInfo<TypedArray<TypeName, clamped, virtualAllocated>>::HasVirtualTable(aValue) || VirtualTableInfo<CrossSiteObject<TypedArray<TypeName, clamped, virtualAllocated>>>::HasVirtualTable(aValue);
}

inline Var BaseTypedDirectGetItem(__in uint32 index)
{
Expand Down

0 comments on commit 54f38ce

Please sign in to comment.