Revert "[*] MSVC link error on the primary v8 library"
This reverts commit c9b547e373
.
This commit is contained in:
parent
465f778309
commit
c0fd7eec04
@ -7,10 +7,7 @@
|
||||
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(), EarlyGetReadOnlyRoots().unchecked_fixed_cow_array_map());
|
||||
|
@ -64,6 +64,11 @@ 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,
|
||||
|
@ -102,7 +102,7 @@ class FixedArray
|
||||
: public TorqueGeneratedFixedArray<FixedArray, FixedArrayBase> {
|
||||
public:
|
||||
// Setter and getter for elements.
|
||||
Object get(int index) const;
|
||||
inline Object get(int index) const;
|
||||
inline Object get(PtrComprCageBase cage_base, int index) const;
|
||||
|
||||
static inline Handle<Object> get(FixedArray array, int index,
|
||||
|
Loading…
Reference in New Issue
Block a user