Skip to content

Commit

Permalink
v8: refactor to use more primordials
Browse files Browse the repository at this point in the history
PR-URL: #36285
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
  • Loading branch information
aduh95 authored and targos committed Jun 11, 2021
1 parent c442d89 commit 6c1bbb5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/v8.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ const {
Int16Array,
Int32Array,
Int8Array,
Map,
ObjectPrototypeToString,
SafeMap,
Uint16Array,
Uint32Array,
Uint8Array,
Expand Down Expand Up @@ -181,7 +181,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();
Expand Down

0 comments on commit 6c1bbb5

Please sign in to comment.