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

Unified 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.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: compiled/shell.js
===================================================================
--- a/compiled/shell.js
+++ b/compiled/shell.js
@@ -60,17 +60,17 @@ var Module =
{
return {
'static_base': STATIC_BASE,
'static_top': STATICTOP,
'stack_base': STACK_BASE,
'stack_top': STACKTOP,
'stack_max': STACK_MAX,
'dynamic_base': DYNAMIC_BASE,
- 'dynamic_top': DYNAMICTOP,
+ 'dynamic_top': HEAP32[DYNAMICTOP_PTR >> 2],
'total_memory': TOTAL_MEMORY
};
}
};
var ENVIRONMENT_IS_WEB = false, ENVIRONMENT_IS_NODE = false,
ENVIRONMENT_IS_WORKER = false, ENVIRONMENT_IS_SHELL = true;
{{BODY}}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld