Eliminate all overhead for function calls that are to be hidden from the stack traces at the expense of reduced performance for the error case Fixes: https://github.com/nodejs/node/issues/35386 PR-URL: https://github.com/nodejs/node/pull/35644 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Vladimir de Turckheim <vlad2t@hotmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
18 lines
499 B
Text
18 lines
499 B
Text
internal/assert.js:*
|
|
throw new ERR_INTERNAL_ASSERTION(message);
|
|
^
|
|
|
|
Error [ERR_INTERNAL_ASSERTION]: This is caused by either a bug in Node.js or incorrect usage of Node.js internals.
|
|
Please open an issue with this stack trace at https://github.com/nodejs/node/issues
|
|
|
|
at new NodeError (internal/errors.js:*:*)
|
|
at assert (internal/assert.js:*:*)
|
|
at * (*test*message*internal_assert.js:7:1)
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at *
|
|
at * {
|
|
code: 'ERR_INTERNAL_ASSERTION'
|
|
}
|