Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: compiled/shell.js

Issue 29416570: Noissue - [emscripten] Report memory layout correctly (Closed) Base URL: https://hg.adblockplus.org/adblockpluscore
Patch Set: Created April 18, 2017, 12:21 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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);
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld