summaryrefslogtreecommitdiffstats
path: root/chromium/v8/src/objects/fixed-array.tq
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/v8/src/objects/fixed-array.tq')
-rw-r--r--chromium/v8/src/objects/fixed-array.tq5
1 files changed, 5 insertions, 0 deletions
diff --git a/chromium/v8/src/objects/fixed-array.tq b/chromium/v8/src/objects/fixed-array.tq
index 5c22149ebb8..5e206cb5afe 100644
--- a/chromium/v8/src/objects/fixed-array.tq
+++ b/chromium/v8/src/objects/fixed-array.tq
@@ -36,11 +36,13 @@ extern class ByteArray extends FixedArrayBase {
@hasSameInstanceTypeAsParent
@generateCppClass
+@doNotGenerateCast
extern class ArrayList extends FixedArray {
}
@hasSameInstanceTypeAsParent
@generateCppClass
+@doNotGenerateCast
extern class TemplateList extends FixedArray {
}
@@ -101,6 +103,9 @@ operator '[]=' macro StoreFixedArrayDirect(a: FixedArray, i: Smi, v: Object) {
a.objects[i] = v;
}
+extern macro AllocateFixedArray(
+ constexpr ElementsKind, intptr, constexpr AllocationFlag): FixedArrayBase;
+
extern macro AllocateZeroedFixedArray(intptr): FixedArray;
extern macro AllocateZeroedFixedDoubleArray(intptr): FixedDoubleArray;
extern macro CalculateNewElementsCapacity(Smi): Smi;