Commit bf78435b authored by Andreas Haas's avatar Andreas Haas Committed by Commit Bot

[wasm] Stage wasm-bigint

The implementation on wasm-bigint has been done, as far as I can tell.
There are no spec tests yet, only an out-dated copy of the original
spec tests which don't pass anymore. Therefore I disabled all the tests
for now and created a tracking bug at https://crbug.com/v8/9673.

R=adamk@chromium.org

Bug: v8:7741, v8:9673
Change-Id: I015846cc6008ad266402b6835e634723a1a076da
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1781050
Commit-Queue: Andreas Haas <ahaas@chromium.org>
Reviewed-by: 's avatarAdam Klein <adamk@chromium.org>
Cr-Commit-Position: refs/heads/master@{#63541}
parent bd397c4e
......@@ -101,6 +101,12 @@ bool InterpretWasmModuleForTesting(Isolate* isolate,
case kWasmF64:
arguments[i] = WasmValue(0.0);
break;
case kWasmAnyRef:
case kWasmFuncRef:
case kWasmExnRef:
arguments[i] =
WasmValue(Handle<Object>::cast(isolate->factory()->null_value()));
break;
default:
UNREACHABLE();
}
......
......@@ -89,6 +89,12 @@ const char* ValueTypeToConstantName(ValueType type) {
return "kWasmF32";
case kWasmF64:
return "kWasmF64";
case kWasmAnyRef:
return "kWasmAnyRef";
case kWasmFuncRef:
return "kWasmFuncRef";
case kWasmExnRef:
return "kWasmExnRef";
default:
UNREACHABLE();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment