[tick-processor] Deal with missing arguments object

Bug: v8:8365

Change-Id: Ie938073551bf1af6fb59ac1c395e7fabbcfdebd7
Reviewed-on: https://chromium-review.googlesource.com/c/1298034
Reviewed-by: Peter Marshall <petermarshall@chromium.org>
Commit-Queue: Toon Verwaest <verwaest@chromium.org>
Cr-Commit-Position: refs/heads/master@{#56956}
This commit is contained in:
Toon Verwaest 2018-10-24 16:59:00 +02:00 committed by Commit Bot
parent 68f7c3a776
commit 395078d717

View File

@ -55,7 +55,7 @@ var entriesProviders = {
'mac': MacCppEntriesProvider
};
var params = processArguments(arguments);
var params = processArguments(this.arguments || []);
var sourceMap = null;
if (params.sourceMap) {
initSourceMapSupport();