Disable inline caches during snapshot generation to work around crash

This commit is contained in:
Nathan Sobo 2017-12-21 09:59:59 -07:00
parent 58f125fe24
commit b11b0b9f9f

View File

@ -85,7 +85,7 @@ module.exports = function (packagedAppPath) {
console.log(`Generating startup blob at "${generatedStartupBlobPath}"`)
childProcess.execFileSync(
path.join(CONFIG.repositoryRootPath, 'script', 'node_modules', 'electron-mksnapshot', 'bin', 'mksnapshot'),
[snapshotScriptPath, '--startup_blob', generatedStartupBlobPath]
['--no-use_ic', snapshotScriptPath, '--startup_blob', generatedStartupBlobPath]
)
let startupBlobDestinationPath