[*] MSVC link error on the primary v8 library

This commit is contained in:
Reece Wilson 2022-09-09 02:01:46 +01:00
parent 97450cb8d1
commit c9b547e373
3 changed files with 5 additions and 7 deletions

View File

@ -7,7 +7,10 @@
namespace v8 {
namespace internal {
Object FixedArray::get(int index) const {
PtrComprCageBase cage_base = GetPtrComprCageBase(*this);
return get(cage_base, index);
}
void FixedArray::set(int index, Smi value) {
DCHECK_NE(map(), GetReadOnlyRoots().fixed_cow_array_map());

View File

@ -64,11 +64,6 @@ bool FixedArray::ContainsOnlySmisOrHoles() {
return true;
}
Object FixedArray::get(int index) const {
PtrComprCageBase cage_base = GetPtrComprCageBase(*this);
return get(cage_base, index);
}
Object FixedArray::get(PtrComprCageBase cage_base, int index) const {
DCHECK_LT(static_cast<unsigned>(index), static_cast<unsigned>(length()));
return TaggedField<Object>::Relaxed_Load(cage_base, *this,

View File

@ -102,7 +102,7 @@ class FixedArray
: public TorqueGeneratedFixedArray<FixedArray, FixedArrayBase> {
public:
// Setter and getter for elements.
inline Object get(int index) const;
Object get(int index) const;
inline Object get(PtrComprCageBase cage_base, int index) const;
static inline Handle<Object> get(FixedArray array, int index,