(val)
| 2461 | // Note: Since {val} is a JS number, the generated constant only has 53 bits of |
| 2462 | // precision. |
| 2463 | function wasmI64Const(val) { |
| 2464 | return [kExprI64Const, ...wasmSignedLeb64(val, 10)]; |
| 2465 | } |
| 2466 | |
| 2467 | function wasmF32Const(f) { |
| 2468 | // Write in little-endian order at offset 0. |