| OLD | NEW |
| 1 /* | 1 /* |
| 2 * This file is part of Adblock Plus <https://adblockplus.org/>, | 2 * This file is part of Adblock Plus <https://adblockplus.org/>, |
| 3 * Copyright (C) 2006-2017 eyeo GmbH | 3 * Copyright (C) 2006-2017 eyeo GmbH |
| 4 * | 4 * |
| 5 * Adblock Plus is free software: you can redistribute it and/or modify | 5 * Adblock Plus is free software: you can redistribute it and/or modify |
| 6 * it under the terms of the GNU General Public License version 3 as | 6 * it under the terms of the GNU General Public License version 3 as |
| 7 * published by the Free Software Foundation. | 7 * published by the Free Software Foundation. |
| 8 * | 8 * |
| 9 * Adblock Plus is distributed in the hope that it will be useful, | 9 * Adblock Plus is distributed in the hope that it will be useful, |
| 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 58 |
| 59 getMemoryLayout: function() | 59 getMemoryLayout: function() |
| 60 { | 60 { |
| 61 return { | 61 return { |
| 62 'static_base': STATIC_BASE, | 62 'static_base': STATIC_BASE, |
| 63 'static_top': STATICTOP, | 63 'static_top': STATICTOP, |
| 64 'stack_base': STACK_BASE, | 64 'stack_base': STACK_BASE, |
| 65 'stack_top': STACKTOP, | 65 'stack_top': STACKTOP, |
| 66 'stack_max': STACK_MAX, | 66 'stack_max': STACK_MAX, |
| 67 'dynamic_base': DYNAMIC_BASE, | 67 'dynamic_base': DYNAMIC_BASE, |
| 68 'dynamic_top': DYNAMICTOP, | 68 'dynamic_top': HEAP32[DYNAMICTOP_PTR >> 2], |
| 69 'total_memory': TOTAL_MEMORY | 69 'total_memory': TOTAL_MEMORY |
| 70 }; | 70 }; |
| 71 } | 71 } |
| 72 }; | 72 }; |
| 73 var ENVIRONMENT_IS_WEB = false, ENVIRONMENT_IS_NODE = false, | 73 var ENVIRONMENT_IS_WEB = false, ENVIRONMENT_IS_NODE = false, |
| 74 ENVIRONMENT_IS_WORKER = false, ENVIRONMENT_IS_SHELL = true; | 74 ENVIRONMENT_IS_WORKER = false, ENVIRONMENT_IS_SHELL = true; |
| 75 | 75 |
| 76 {{BODY}} | 76 {{BODY}} |
| 77 | 77 |
| 78 Object.assign(exports, Module); | 78 Object.assign(exports, Module); |
| OLD | NEW |