diff --git a/lib/fabricator.js b/lib/fabricator.js index 4331193a5..75f1c577b 100644 --- a/lib/fabricator.js +++ b/lib/fabricator.js @@ -44,7 +44,8 @@ const children = {}; export function fabricate (bakes, fabricator, snap, body, cb) { bakes = bakes.filter(function (bake) { // list of bakes that don't influence the bytecode - return ![ '--prof', '--v8-options' ].includes(bake); + const bake2 = bake.replace(/_/g, '-'); + return ![ '--prof', '--v8-options', '--trace-opt', '--trace-deopt' ].includes(bake2); }); const cmd = fabricator.binaryPath;