UNPKG
v8-flags
Version:
latest (0.1.2)
0.1.2
0.1.1
0.1.0
Configures v8 flags at runtime.
github.com/thlorenz/v8-flags
thlorenz/v8-flags
v8-flags
/
test
/
fixtures
/
always_opt.js
11 lines
(8 loc)
•
173 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
'use strict'
;
function
toopt
(
a, b
) {
return
a + b; }
exports
=
module
.
exports
=
function
(
) {
exports
.
result
=
toopt
(
1
,
2
);
return
%
GetOptimizationCount
(toopt); }