Skip to content

Commit

Permalink
test262/harness: TypedArray hack
Browse files Browse the repository at this point in the history
test262: 50.15% (+0.17) | πŸ§ͺ 48381 | 🀠 24261 (+82) | ❌ 6951 (+200) | πŸ’€ 15573 (-281) | πŸ—οΈ 152 | πŸ’₯ 331 | ⏰ 135 (-1) | πŸ“ 978
  • Loading branch information
CanadaHonk committed Oct 19, 2024
1 parent 21fc4f5 commit 046f64a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "porffor",
"description": "a basic experimental wip aot optimizing js -> wasm engine/compiler/runtime in js",
"version": "0.49.0",
"version": "0.49.1",
"author": "CanadaHonk",
"license": "MIT",
"scripts": {},
Expand Down
2 changes: 1 addition & 1 deletion runner/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env node
import fs from 'node:fs';
globalThis.version = '0.49.0';
globalThis.version = '0.49.1';

// deno compat
if (typeof process === 'undefined' && typeof Deno !== 'undefined') {
Expand Down
4 changes: 3 additions & 1 deletion test262/harness.js
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,9 @@ var NaNs = [
];

/// testTypedArray.js
// todo: TypedArray
// hack: we do not actually have an underlying TypedArray so just use Int8Array
const TypedArray = Int8Array;

var floatArrayConstructors = [
Float64Array,
Float32Array
Expand Down

0 comments on commit 046f64a

Please sign in to comment.