v8: refactor to use more primordials

PR-URL: https://github.com/nodejs/node/pull/36285
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
Antoine du Hamel authored and Danielle Adams committed 2020-12-07 13:55:14 -05:00
1 parent 2a24096720
commit fbd5652943
1 file changed
+2 -2
+2 -2
View File
@@ -24,8 +24,8 @@ const {
Int16Array,
Int32Array,
Int8Array,
Map,
ObjectPrototypeToString,
SafeMap,
Uint16Array,
Uint32Array,
Uint8Array,
@@ -194,7 +194,7 @@ const arrayBufferViewTypes = [Int8Array, Uint8Array, Uint8ClampedArray,
Int16Array, Uint16Array, Int32Array, Uint32Array,
Float32Array, Float64Array, DataView];
const arrayBufferViewTypeToIndex = new Map();
const arrayBufferViewTypeToIndex = new SafeMap();
{
const dummy = new ArrayBuffer();