We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getTypeFromHeap
1 parent 858eadf commit 165cc15Copy full SHA for 165cc15
src/parseTools.js
@@ -505,17 +505,6 @@ function charCode(char) {
505
return char.charCodeAt(0);
506
}
507
508
-function getTypeFromHeap(suffix) {
509
- switch (suffix) {
510
- case '8': return 'i8';
511
- case '16': return 'i16';
512
- case '32': return 'i32';
513
- case 'F32': return 'float';
514
- case 'F64': return 'double';
515
- }
516
- assert(false, 'bad type suffix: ' + suffix);
517
-}
518
-
519
function ensureValidFFIType(type) {
520
return type === 'float' ? 'double' : type; // ffi does not tolerate float XXX
521
0 commit comments