lib: remove outdated optimizations
PR-URL: https://github.com/nodejs/node/pull/27380 Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com> Reviewed-By: Benedikt Meurer <benedikt.meurer@gmail.com>
This commit is contained in:
parent
f5e2ad784f
commit
8b04d5c3ba
@ -93,9 +93,6 @@ function processTicksAndRejections() {
|
|||||||
|
|
||||||
class TickObject {
|
class TickObject {
|
||||||
constructor(callback, args, triggerAsyncId) {
|
constructor(callback, args, triggerAsyncId) {
|
||||||
// This must be set to null first to avoid function tracking
|
|
||||||
// on the hidden class, revisit in V8 versions after 6.2
|
|
||||||
this.callback = null;
|
|
||||||
this.callback = callback;
|
this.callback = callback;
|
||||||
this.args = args;
|
this.args = args;
|
||||||
|
|
||||||
|
@ -207,9 +207,6 @@ const Immediate = class Immediate {
|
|||||||
constructor(callback, args) {
|
constructor(callback, args) {
|
||||||
this._idleNext = null;
|
this._idleNext = null;
|
||||||
this._idlePrev = null;
|
this._idlePrev = null;
|
||||||
// This must be set to null first to avoid function tracking
|
|
||||||
// on the hidden class, revisit in V8 versions after 6.2
|
|
||||||
this._onImmediate = null;
|
|
||||||
this._onImmediate = callback;
|
this._onImmediate = callback;
|
||||||
this._argv = args;
|
this._argv = args;
|
||||||
this._destroyed = false;
|
this._destroyed = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user