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}} |