mirror of
https://github.com/nodejs/node.git
synced 2025-05-18 15:22:27 +00:00

Prevent deoptimization of process.nextTick by removing the try finally block. This is not necessary as the next tick queue will be reset anyway, no matter if the callback throws or not. Use a predefined array size prevents resizing the array and is therefor faster. PR-URL: https://github.com/nodejs/node/pull/5092 Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com>
12 lines
373 B
Plaintext
12 lines
373 B
Plaintext
|
|
*test*message*nexttick_throw.js:*
|
|
undefined_reference_error_maker;
|
|
^
|
|
ReferenceError: undefined_reference_error_maker is not defined
|
|
at *test*message*nexttick_throw.js:*:*
|
|
at _combinedTickCallback (node.js:*:*)
|
|
at process._tickCallback (node.js:*:*)
|
|
at Function.Module.runMain (module.js:*:*)
|
|
at startup (node.js:*:*)
|
|
at node.js:*:*
|