diff options
Diffstat (limited to 'src/parseTools.js')
-rw-r--r-- | src/parseTools.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/parseTools.js b/src/parseTools.js index afd57543..4a3867ef 100644 --- a/src/parseTools.js +++ b/src/parseTools.js @@ -895,9 +895,7 @@ function makePointer(slab, pos, allocator, type) { } } - return 'Pointer_make(' + slab + ', ' + (pos ? pos : 0) + (allocator ? ', ' + allocator : '') + ', ' + - JSON.stringify(types) + - ')'; + return 'allocate(' + slab + ', ' + JSON.stringify(types) + (allocator ? ', ' + allocator : '') + ')'; } function makeGetSlabs(ptr, type, allowMultiple, unsigned) { |