-
mtrofin authored
Calculate memory size from the available heap. This avoids the bugs due to some numbers being stored as objects (by-ref) and thus needing special handling when cloning. This leaves all the rest of the numbers as read-only. Further simplified by representing globals size as a Smi. BUG= Committed: https://crrev.com/7ced1bdc9df2315ccc07dd17c12736aebf40cb57 Review-Url: https://codereview.chromium.org/2381393002 Cr-Original-Commit-Position: refs/heads/master@{#39923} Cr-Commit-Position: refs/heads/master@{#39925}
6ea3575c