Commit d5c04c34 authored by Jiho Choi's avatar Jiho Choi Committed by Fedor Indutny
Browse files

vm: fix `produceCachedData`

Fix segmentation faults when compiling the same code with
`produceCachedData` option. V8 ignores the option when the code is in
its compilation cache and does not return cached data. Added
`cachedDataProduced` property to `v8.Script` to denote whether the
cached data is produced successfully.

PR-URL: https://github.com/nodejs/node/pull/5343


Reviewed-By: default avatarFedor Indutny <fedor@indutny.com>
parent 5c14efbb
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment