Fix compilation on big endian
Currently getting the following errors: ``` error: variable 'string' set but not used unused variable 'start' ``` Bug: v8:12868 Change-Id: I9ee8a14da7d126270255558a630ffd2af3f87f15 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3702966 Commit-Queue: Milad Farazmand <mfarazma@redhat.com> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#81134}
This commit is contained in:
parent
085f504ed8
commit
07bc22a9cf
@ -1122,6 +1122,8 @@ RUNTIME_FUNCTION(Runtime_WasmStringEncodeWtf16) {
|
||||
#elif defined(V8_TARGET_BIG_ENDIAN)
|
||||
// TODO(12868): The host is big-endian but we need to write the string
|
||||
// contents as little-endian.
|
||||
USE(string);
|
||||
USE(start);
|
||||
UNIMPLEMENTED();
|
||||
#else
|
||||
#error Unknown endianness
|
||||
|
Loading…
Reference in New Issue
Block a user