Remove last vestiges of FHEAP.

This commit is contained in:
Bruce Mitchener 2015-04-10 21:35:19 +07:00
Родитель c0e750b7ca
Коммит 55123d987a
3 изменённых файлов: 1 добавлений и 6 удалений

Просмотреть файл

@ -386,7 +386,6 @@ The :ref:`emscripten-memory-model` uses a typed array buffer (``ArrayBuffer``) t
Module['ALLOC_NONE'] = ALLOC_NONE;
Module['HEAP'] = HEAP;
Module['IHEAP'] = IHEAP;
Module['FHEAP'] = FHEAP;
function alignMemoryPage(x)
function enlargeMemory()
function demangle(func)

Просмотреть файл

@ -1359,7 +1359,7 @@ function indexizeFunctions(value, type) {
//! possible to put |0| here, but if a pointer is available, that is more future-proof.
//! @param pos The position in that slab - the offset. Added to any offset in the pointer itself.
//! @param value The value to set.
//! @param type A string defining the type. Used to find the slab (IHEAP, FHEAP, etc.).
//! @param type A string defining the type. Used to find the slab (HEAPU8, HEAP16, HEAPU32, etc.).
//! 'null' means, in the context of SAFE_HEAP, that we should accept all types;
//! which means we should write to all slabs, ignore type differences if any on reads, etc.
//! @param noNeedFirst Whether to ignore the offset in the pointer itself.
@ -1644,8 +1644,6 @@ function calcFastOffset(ptr, pos, noNeedFirst) {
return getFastValue(ptr, '+', pos, 'i32');
}
var IHEAP_FHEAP = set('IHEAP', 'IHEAPU', 'FHEAP');
var temp64f = new Float64Array(1);
var temp32f = new Float32Array(temp64f.buffer);
var temp32 = new Uint32Array(temp64f.buffer);

Просмотреть файл

@ -80,8 +80,6 @@ var RELOOPER_BUFFER_SIZE = 20*1024*1024; // The internal relooper buffer size. I
var USE_TYPED_ARRAYS = 2; // Use typed arrays for the heap. See https://github.com/kripken/emscripten/wiki/Code-Generation-Modes/
// 2 is a single heap, accessible through views as int8, int32, etc. This is
// the only supported mode.
var USE_FHEAP = 1; // Relevant in USE_TYPED_ARRAYS == 1. If this is disabled, only IHEAP will be used, and FHEAP
// not generated at all. This is useful if your code is 100% ints without floats or doubles
var DOUBLE_MODE = 1; // How to load and store 64-bit doubles.
// A potential risk is that doubles may be only 32-bit aligned. Forcing 64-bit alignment
// a potential risk is that doubles may be only 32-bit aligned. Forcing 64-bit alignment