[stringrefs] Renumber stringref types
0x65 is unavailable after https://github.com/WebAssembly/gc/pull/295/files. Bug: v8:12868 Change-Id: I8bdffb279c7e7cf72242c1565cf3401e5fa3f4d5 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3717984 Commit-Queue: Andy Wingo <wingo@igalia.com> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/main@{#81296}
This commit is contained in:
parent
852baabc17
commit
69bb334fda
@ -50,10 +50,10 @@ enum ValueTypeCode : uint8_t {
|
||||
kRttCode = 0x68,
|
||||
kDataRefCode = 0x67,
|
||||
kArrayRefCode = 0x66,
|
||||
kStringRefCode = 0x65,
|
||||
kStringViewWtf8Code = 0x64,
|
||||
kStringViewWtf16Code = 0x63,
|
||||
kStringViewIterCode = 0x62,
|
||||
kStringRefCode = 0x64,
|
||||
kStringViewWtf8Code = 0x63,
|
||||
kStringViewWtf16Code = 0x62,
|
||||
kStringViewIterCode = 0x61,
|
||||
};
|
||||
|
||||
// Binary encoding of type definitions.
|
||||
|
@ -128,10 +128,10 @@ let kWasmEqRef = -0x13;
|
||||
let kWasmI31Ref = -0x16;
|
||||
let kWasmDataRef = -0x19;
|
||||
let kWasmArrayRef = -0x1a;
|
||||
let kWasmStringRef = -0x1b;
|
||||
let kWasmStringViewWtf8 = -0x1c;
|
||||
let kWasmStringViewWtf16 = -0x1d;
|
||||
let kWasmStringViewIter = -0x1e;
|
||||
let kWasmStringRef = -0x1c;
|
||||
let kWasmStringViewWtf8 = -0x1d;
|
||||
let kWasmStringViewWtf16 = -0x1e;
|
||||
let kWasmStringViewIter = -0x1f;
|
||||
|
||||
// Use the positive-byte versions inside function bodies.
|
||||
let kLeb128Mask = 0x7f;
|
||||
|
Loading…
Reference in New Issue
Block a user