Ensure variable holder is a fast-mode object

Change-Id: I660e987f319bd4b23b9347a8c819635ceaddae68
Reviewed-on: https://dart-review.googlesource.com/c/87611
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
This commit is contained in:
Stephen Adams 2018-12-19 00:39:36 +00:00 committed by commit-bot@chromium.org
parent 2bd60aa109
commit 278299c73b

View file

@ -451,6 +451,7 @@ var #staticStateDeclaration = {};
// Ensure holders are in fast mode, now we have finished adding things.
convertAllToFastObject(holders);
convertToFastObject(#staticState);
// Invokes main (making sure that it records the 'current-script' value).
#invokeMain;