File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -1002,7 +1002,8 @@ changes:
1002
1002
is displayed in stack traces produced by this script. **Default:** `0`.
1003
1003
* `cachedData` {Buffer|TypedArray|DataView} Provides an optional `Buffer` or
1004
1004
`TypedArray`, or `DataView` with V8' s code cache data for the supplied
1005
- source.
1005
+ source . This must be produced by a prior call to [` vm.compileFunction()` ][]
1006
+ with the same ` code` and ` params` .
1006
1007
* ` produceCachedData` {boolean} Specifies whether to produce new cache data.
1007
1008
** Default: ** ` false` .
1008
1009
* ` parsingContext` {Object } The [contextified][] object in which the said
@@ -1590,6 +1591,7 @@ are not controllable through the timeout either.
1590
1591
[`script.runInContext()`]: #scriptrunincontextcontextifiedobject-options
1591
1592
[`script.runInThisContext()`]: #scriptruninthiscontextoptions
1592
1593
[`url.origin`]: url.md#urlorigin
1594
+ [`vm.compileFunction()`]: #vmcompilefunctioncode-params-options
1593
1595
[`vm.createContext()`]: #vmcreatecontextcontextobject-options
1594
1596
[`vm.runInContext()`]: #vmrunincontextcode-contextifiedobject-options
1595
1597
[`vm.runInThisContext()`]: #vmruninthiscontextcode-options
You can’t perform that action at this time.
0 commit comments