mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 16:10:02 +01:00
88307974e6
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>
57 lines
1.5 KiB
Plaintext
57 lines
1.5 KiB
Plaintext
[eval]
|
|
[eval]:1
|
|
with(this){__filename}
|
|
^^^^
|
|
SyntaxError: Strict mode code may not include a with statement
|
|
at Object.exports.runInThisContext (vm.js:*)
|
|
at Object.<anonymous> ([eval]-wrapper:*:*)
|
|
at Module._compile (module.js:*:*)
|
|
at node.js:*:*
|
|
at _combinedTickCallback (node.js:*:*)
|
|
at process._tickCallback (node.js:*:*)
|
|
42
|
|
42
|
|
[eval]:1
|
|
throw new Error("hello")
|
|
^
|
|
Error: hello
|
|
at [eval]:1:7
|
|
at Object.exports.runInThisContext (vm.js:*)
|
|
at Object.<anonymous> ([eval]-wrapper:*:*)
|
|
at Module._compile (module.js:*:*)
|
|
at node.js:*:*
|
|
at _combinedTickCallback (node.js:*:*)
|
|
at process._tickCallback (node.js:*:*)
|
|
[eval]:1
|
|
throw new Error("hello")
|
|
^
|
|
Error: hello
|
|
at [eval]:1:7
|
|
at Object.exports.runInThisContext (vm.js:*)
|
|
at Object.<anonymous> ([eval]-wrapper:*:*)
|
|
at Module._compile (module.js:*:*)
|
|
at node.js:*:*
|
|
at _combinedTickCallback (node.js:*:*)
|
|
at process._tickCallback (node.js:*:*)
|
|
100
|
|
[eval]:1
|
|
var x = 100; y = x;
|
|
^
|
|
ReferenceError: y is not defined
|
|
at [eval]:1:16
|
|
at Object.exports.runInThisContext (vm.js:*)
|
|
at Object.<anonymous> ([eval]-wrapper:*:*)
|
|
at Module._compile (module.js:*:*)
|
|
at node.js:*:*
|
|
at _combinedTickCallback (node.js:*:*)
|
|
at process._tickCallback (node.js:*:*)
|
|
[eval]:1
|
|
var ______________________________________________; throw 10
|
|
^
|
|
10
|
|
[eval]:1
|
|
var ______________________________________________; throw 10
|
|
^
|
|
10
|
|
done
|